Make sure that new issue is covered by testcase

This commit is contained in:
Niels Mündler 2023-12-08 16:37:41 +01:00 committed by Lucas
parent d0bc782f75
commit 3ac35f4e00
1 changed files with 2 additions and 2 deletions

View File

@ -55,11 +55,11 @@ fn constant_pair_unit_string() {
Type::Unit, Type::Unit,
Type::String, Type::String,
Constant::Unit.into(), Constant::Unit.into(),
Constant::String("hello universe".into()).into(), Constant::String("hello universe\0".into()).into(),
) )
.into(), .into(),
), ),
"(con (pair unit string) ((), \"hello universe\"))", "(con (pair unit string) ((), \"hello universe\\x00\"))",
) )
} }