quick test fix

This commit is contained in:
gluax 2021-05-22 18:21:11 -04:00
parent 1c57eb4196
commit bce10cc885
4 changed files with 8 additions and 3 deletions

View File

@ -9,7 +9,7 @@ circuit Foo {
s1: [char; 13];
}
function takes_string(s: [char; 13]) -> [char; 13] {
function takes_string(s: [char; 13]) -> bool {
return s == `Hello, World!`;
}

View File

@ -1,6 +1,5 @@
[main]
s1: [char; 13] = "Hello, World!";
s2: [char; 4] = "test":
[registers]
out: [char; 13] = "Hello, World!";

View File

@ -33,7 +33,7 @@ outputs:
registers:
r:
type: char
value: "\n"
value: "*"
- input_file: inputs/unicode.in
output:
registers:

View File

@ -16,3 +16,9 @@ outputs:
out:
type: bool
value: "true"
- input_file: inputs/weird.in
output:
registers:
out:
type: bool
value: "false"