New test 103 and clippy fixes
This commit is contained in:
7
examples/acceptance_tests/103/aiken.lock
Normal file
7
examples/acceptance_tests/103/aiken.lock
Normal file
@@ -0,0 +1,7 @@
|
||||
# This file was generated by Aiken
|
||||
# You typically do not need to edit this file
|
||||
|
||||
requirements = []
|
||||
packages = []
|
||||
|
||||
[etags]
|
||||
9
examples/acceptance_tests/103/aiken.toml
Normal file
9
examples/acceptance_tests/103/aiken.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
name = "aiken-lang/103"
|
||||
version = "0.0.0"
|
||||
license = "Apache-2.0"
|
||||
description = "Aiken contracts for project 'aiken-lang/102'"
|
||||
|
||||
[repository]
|
||||
user = "aiken-lang"
|
||||
project = "103"
|
||||
platform = "github"
|
||||
13
examples/acceptance_tests/103/lib/tests.ak
Normal file
13
examples/acceptance_tests/103/lib/tests.ak
Normal file
@@ -0,0 +1,13 @@
|
||||
fn do_diagnostic(self: Data) -> ByteArray {
|
||||
let builder = 2
|
||||
|
||||
from_int(builder)
|
||||
}
|
||||
|
||||
fn from_int(i: Int) -> ByteArray {
|
||||
"dddd"
|
||||
}
|
||||
|
||||
test other() {
|
||||
do_diagnostic(1) != "thing"
|
||||
}
|
||||
Reference in New Issue
Block a user