Sharp.Augeas/Sharp.Augeas.Test/lens/tests/test_util.aug

25 lines
428 B
Plaintext
Raw Permalink Normal View History

2022-11-08 20:57:02 +03:00
module Test_Util =
test Util.empty_c_style get "/* */\n" =
{ }
test Util.comment_multiline get "/* comment */\n" =
{ "#mcomment"
{ "1" = "comment" }
}
test Util.comment_multiline get "/*\ncomment\n*/\n" =
{ "#mcomment"
{ "1" = "comment" }
}
test Util.comment_multiline get "/**
* Multi line comment
*
*/\n" =
{ "#mcomment"
{ "1" = "*" }
{ "2" = "* Multi line comment" }
{ "3" = "*" }
}