remove empty list test case for inspect

This commit is contained in:
Brendan Hansknecht 2023-11-28 15:04:38 -08:00
parent 4b911524ac
commit 01032c3b11
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -2254,17 +2254,15 @@ mod inspect {
app "test" provides [main] to "./platform"
main = [
Inspect.inspect [], # List *
Inspect.inspect [0, 1, 2], # List (Num *)
Inspect.inspect [1, 0x2, 3], # List (Int *)
# TODO: Re-enable when Frac is fixed for inspect.
# Inspect.inspect [0.1 + 0.2, 0.4], # List (Frac *)
Inspect.inspect [0.1 + 0.2, 0.4], # List (Frac *)
Inspect.inspect [1u8, 2u8], # List U8
Inspect.inspect ["foo"], # List Str
] |> List.map Inspect.toDbgStr |> Str.joinWith ", "
"#
),
RocStr::from("[], [0, 1, 2], [1, 2, 3], [0.3, 0.4], [1, 2], [\"foo\"]"),
RocStr::from("[0, 1, 2], [1, 2, 3], [0.3, 0.4], [1, 2], [\"foo\"]"),
RocStr
);
}