mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +03:00
quick test fix
This commit is contained in:
parent
1c57eb4196
commit
bce10cc885
@ -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!`;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
[main]
|
||||
s1: [char; 13] = "Hello, World!";
|
||||
s2: [char; 4] = "test":
|
||||
|
||||
[registers]
|
||||
out: [char; 13] = "Hello, World!";
|
@ -33,7 +33,7 @@ outputs:
|
||||
registers:
|
||||
r:
|
||||
type: char
|
||||
value: "\n"
|
||||
value: "*"
|
||||
- input_file: inputs/unicode.in
|
||||
output:
|
||||
registers:
|
||||
|
@ -16,3 +16,9 @@ outputs:
|
||||
out:
|
||||
type: bool
|
||||
value: "true"
|
||||
- input_file: inputs/weird.in
|
||||
output:
|
||||
registers:
|
||||
out:
|
||||
type: bool
|
||||
value: "false"
|
||||
|
Loading…
Reference in New Issue
Block a user