Opinionated OCaml linter with Merlin integration for code quality, naming conventions, and style checks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

merlint: add cram test for E830 (inlined algorithm in generator)

+12
+1
test/cram/e830.t/bad/dune-project
··· 1 + (lang dune 3.21)
+2
test/cram/e830.t/bad/foo/test/interop/oracle/scripts/generate.py
··· 1 + def encode(value): 2 + return value + 1
+1
test/cram/e830.t/good/dune-project
··· 1 + (lang dune 3.21)
+3
test/cram/e830.t/good/foo/test/interop/oracle/scripts/generate.py
··· 1 + import oracle_lib 2 + 3 + print(oracle_lib.run(42))
+5
test/cram/e830.t/run.t
··· 1 + Test bad example - generate.py defines its own encode function: 2 + $ merlint -B -r E830 bad/ 3 + 4 + Test good example - generate.py only calls the upstream library: 5 + $ merlint -B -r E830 good/