From d7dc40809e4e4555b7c2e89cb3dc0ae5e01b0f06 Mon Sep 17 00:00:00 2001 From: "P. Oscar Boykin" Date: Tue, 17 Dec 2024 14:35:19 -1000 Subject: [PATCH] Try to fix 1285 (#1326) --- .../test/scala/org/bykn/bosatsu/codegen/python/CodeTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/test/scala/org/bykn/bosatsu/codegen/python/CodeTest.scala b/cli/src/test/scala/org/bykn/bosatsu/codegen/python/CodeTest.scala index da0007aea..c53e320ca 100644 --- a/cli/src/test/scala/org/bykn/bosatsu/codegen/python/CodeTest.scala +++ b/cli/src/test/scala/org/bykn/bosatsu/codegen/python/CodeTest.scala @@ -534,7 +534,7 @@ else: else { (t.simplify, f.simplify) match { case (Code.Const.False | Code.Const.Zero, Code.Const.One | Code.Const.True) => - val not = Code.Not(whoKnows) + val not = Code.Not(whoKnows).simplify assert(tern == not) case (ts, fs) => assert(tern == Code.Ternary(ts, whoKnows, fs))