Persistent store with Git semantics: lazy reads, delayed writes, content-addressing
1
fork

Configure Feed

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

irmin/test/toml: shorten scalar test name (E320)

Rename scalar_int_is_bare_lexical_form to scalar_int_bare_lexical
to stay under the five-underscore threshold.

+3 -3
+3 -3
test/toml/test_irmin_toml.ml
··· 21 21 Alcotest.(check (list string)) "names" [ "age"; "name" ] names 22 22 | _ -> Alcotest.fail "parse_table_exact_names" 23 23 24 - let scalar_int_is_bare_lexical_form () = 24 + let scalar_int_bare_lexical () = 25 25 (* [age = 30] → Named [("age", Inline "30")]. No sentinel key. *) 26 26 match Irmin_toml.parse "age = 30\n" with 27 27 | Irmin.SHA256.Named [ ("age", `Inline bytes) ] -> 28 28 Alcotest.(check string) "bare scalar" "30" bytes 29 - | _ -> Alcotest.fail "scalar_int_is_bare_lexical_form" 29 + | _ -> Alcotest.fail "scalar_int_bare_lexical" 30 30 31 31 let scalar_string_is_quoted_lexical () = 32 32 match Irmin_toml.parse {|name = "alice"|} with ··· 99 99 Alcotest.test_case "parse table -> exact names" `Quick 100 100 parse_table_exact_names; 101 101 Alcotest.test_case "int scalar is bare lexical form" `Quick 102 - scalar_int_is_bare_lexical_form; 102 + scalar_int_bare_lexical; 103 103 Alcotest.test_case "string scalar is quoted lexical form" `Quick 104 104 scalar_string_is_quoted_lexical; 105 105 Alcotest.test_case "stepping into scalar yields leaf" `Quick