From 3e38327aa471b5d54146e77933318266ff6a263d Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 27 Oct 2024 00:06:37 -0400 Subject: [PATCH] Correct existing tests to account for vinculum support --- convertroman_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/convertroman_test.go b/convertroman_test.go index 46bb23f..8d4100e 100644 --- a/convertroman_test.go +++ b/convertroman_test.go @@ -32,13 +32,13 @@ func TestFromInt(t *testing.T) { t.Errorf("FromInt(%d) = %s; want %s", input, out, expected) } } - out := FromInt(100000) + out := FromInt(4000000) if out != "OOB" { - t.Errorf("FromInt(%d) expected an error", 100000) + t.Errorf("FromInt(%d) expected an error", 4000000) } out = FromInt(0) - if out != "OOB" { - t.Errorf("FromInt(%d) expected an error", 0) + if out != "0" { + t.Errorf("FromInt(%d) something went wrong (0 should resolve to 0)", 0) } }