Correct existing tests to account for vinculum support

This commit is contained in:
2024-10-27 00:06:37 -04:00
parent ba1c6d30ed
commit 3e38327aa4
+4 -4
View File
@@ -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)
}
}