Update fmt tests to not use Nat

This commit is contained in:
Richard Feldman 2024-01-22 15:15:00 -05:00
parent 521cb45c99
commit 02bc54292f
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -2434,7 +2434,7 @@ mod test_fmt {
r"
foo :
Str,
Nat
U64
-> Bool
foo
@ -2444,7 +2444,7 @@ mod test_fmt {
expr_formats_same(indoc!(
r"
foo :
Str, Int, Nat -> Bool
Str, Int, U64 -> Bool
foo
"
@ -2455,7 +2455,7 @@ mod test_fmt {
r"
foo :
Str,
Nat -> Bool
U64 -> Bool
foo
"
@ -2464,7 +2464,7 @@ mod test_fmt {
r"
foo :
Str,
Nat
U64
-> Bool
foo
@ -2478,7 +2478,7 @@ mod test_fmt {
foo :
Str,
Nat
U64
-> Bool
@ -2489,7 +2489,7 @@ mod test_fmt {
r"
foo :
Str,
Nat
U64
-> Bool
foo
@ -2502,7 +2502,7 @@ mod test_fmt {
r"
foo :
Str, Nat -> Bool
Str, U64 -> Bool
foo
"
@ -2510,7 +2510,7 @@ mod test_fmt {
indoc!(
r"
foo :
Str, Nat -> Bool
Str, U64 -> Bool
foo
"
@ -5618,9 +5618,9 @@ mod test_fmt {
r"
Dict k v := {
metadata : List I8,
dataIndices : List Nat,
dataIndices : List U64,
data : List (T k v),
size : Nat,
size : U64,
} where k implements Hash & Eq
a
@ -6010,11 +6010,11 @@ mod test_fmt {
r"
when l1 is
[
..
..
as
rest
]
as
as
l2
->
f rest