From 3ac35f4e003e87b319d38792bd428c1033073ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=BCndler?= Date: Fri, 8 Dec 2023 16:37:41 +0100 Subject: [PATCH] Make sure that new issue is covered by testcase --- crates/uplc/tests/pretty_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uplc/tests/pretty_tests.rs b/crates/uplc/tests/pretty_tests.rs index 9d864c9e..d516d569 100644 --- a/crates/uplc/tests/pretty_tests.rs +++ b/crates/uplc/tests/pretty_tests.rs @@ -55,11 +55,11 @@ fn constant_pair_unit_string() { Type::Unit, Type::String, Constant::Unit.into(), - Constant::String("hello universe".into()).into(), + Constant::String("hello universe\0".into()).into(), ) .into(), ), - "(con (pair unit string) ((), \"hello universe\"))", + "(con (pair unit string) ((), \"hello universe\\x00\"))", ) }