diff --git a/crates/uplc/tests/pretty_tests.rs b/crates/uplc/tests/pretty_tests.rs index d516d569..7daf05e7 100644 --- a/crates/uplc/tests/pretty_tests.rs +++ b/crates/uplc/tests/pretty_tests.rs @@ -167,17 +167,14 @@ fn constant_data_int() { "(con data (I 2))", ); - // TODO: large integers currently encode as bytestrings, which isn't great - /* - let term = Term::::Constant(Constant::Data( + let term = Term::::Constant(Constant::Data( PlutusData::BigInt(pallas_primitives::alonzo::BigInt::BigUInt(vec![2,3,4].into())), ).into()); assert_eq!(term.to_pretty(), "(con data (I 131844))"); - let term = Term::::Constant(Constant::Data( - PlutusData::BigInt(pallas_primitives::alonzo::BigInt::BigNInt(vec![FF,FD,FC,FC].into())), + let term = Term::::Constant(Constant::Data( + PlutusData::BigInt(pallas_primitives::alonzo::BigInt::BigNInt(vec![2,3,3].into())), ).into()); assert_eq!(term.to_pretty(), "(con data (I -131844))"); - */ } #[test]