Add new acceptance test scenario 030

```
  Error:
    × Main thread panicked.
    ├─▶ at crates/lang/src/uplc.rs:1897:45
    ╰─▶ called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }
  ```
This commit is contained in:
KtorZ 2022-12-20 04:37:55 +01:00
parent 58c123a930
commit 030172e1dc
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,2 @@
name = "acceptance_test_030"
version = "0.0.0"

View File

@ -0,0 +1,11 @@
pub fn abs(a: Int) -> Int {
if a < 0 {
-a
} else {
a
}
}
test abs_1() {
abs(-14) == 14
}