1
0
mirror of synced 2026-05-22 05:13:43 +00:00

tests/scripts: Also check hashes in quotes

i.e. they should be part of the quote instead of starting a comment
This commit is contained in:
Krystine Sherwin
2025-09-24 14:03:49 +12:00
parent 5c1dd0c5b2
commit 0a88c159c1

View File

@@ -12,3 +12,8 @@ read_test_args -arg "inner \"escaped quotes\"" "file name.v" "file name.ys"
write_test_args -arg "inner \"escaped quotes\"" "file name.out"
read_test_args -arg no_quotes plugin.cc
write_test_args -arg no_quotes
# hash in string?
test_args "this is \\ #not a comment"
test_args this is #a comment
test_args "#no comment"