commit e8c5f5fe3feb131a346aa8bd766b838cad45a92b
parent ddd37553a0f56d3c568395bc63cb7ab356fab7c1
Author: Eyal Sawady <ecs@d2evs.net>
Date: Wed, 14 Apr 2021 13:29:02 -0400
strconv::stou+test: use flexible literals more
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/strconv/+test/stou.ha b/strconv/+test/stou.ha
@@ -14,7 +14,7 @@
@test fn stoub() void = {
assert(stou64b("7f", 16) as u64 == 0x7f);
- assert(stou64b("7F", 16u) as u64 == 0x7f);
+ assert(stou64b("7F", 16) as u64 == 0x7f);
assert(stou64b("37", 8) as u64 == 0o37);
assert(stou64b("110101", 2) as u64 == 0b110101);
};