mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +03:00
Fix test cases
This commit is contained in:
parent
13e17044fd
commit
22766a4359
@ -5,6 +5,6 @@ expectation: Pass
|
||||
|
||||
program test.aleo {
|
||||
transition foo(a: [bool; 8]) -> bool {
|
||||
return a[0];
|
||||
return a[0u32];
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,6 @@ program test.aleo {
|
||||
}
|
||||
|
||||
transition foo(a: [[bool; 8]; 8]) -> bool {
|
||||
return a[0][0];
|
||||
return a[0u32][0u32];
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@ program test.aleo {
|
||||
}
|
||||
|
||||
transition foo(a: [bar; 8]) -> u8 {
|
||||
return a[0].data;
|
||||
return a[0u32].data;
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,6 @@ program test.aleo {
|
||||
}
|
||||
|
||||
transition foo(a: [bar; 8]) -> u8 {
|
||||
return a[0].data;
|
||||
return a[0u8].data;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user