Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 15, 2024
1 parent 544eb9f commit f993ccc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cadence/contracts/Recipe.cdc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "SetAndSeries"

access(all) contract Recipe{
access(all) contract Recipe {
// More code from Series resource above...
access(all)
Expand Down
11 changes: 11 additions & 0 deletions cadence/tests/Recipe_test.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,14 @@ access(all) fun testExample() {
let array = [1, 2, 3]
Test.expect(array.length, Test.equal(3))
}

access(all)
fun setup() {
let err = Test.deployContract(
name: "Recipe",
path: "../contracts/Recipe.cdc",
arguments: [],
)

Test.expect(err, Test.beNil())
}

0 comments on commit f993ccc

Please sign in to comment.