Better error for int a[4] = .... #1518

This commit is contained in:
Christoffer Lerno
2024-10-04 17:52:32 +02:00
parent fa4ca7944f
commit f95769541d
4 changed files with 40 additions and 10 deletions

View File

@@ -8,9 +8,9 @@ fn void! rc_crypt() @test
char[200] x;
String text = "The quick brown fox jumps over the lazy dog.";
rc.crypt(text, &x);
char[*] res = x"2ac2fecdd8fbb84638e3a4
char[*] res = x`2ac2fecdd8fbb84638e3a4
820eb205cc8e29c28b9d5d
6b2ef974f311964971c90e
8b9ca16467ef2dc6fc3520";
8b9ca16467ef2dc6fc3520`;
assert(res[:text.len] == x[:text.len]);
}