Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Mar 10, 2025
1 parent adf5fc2 commit f44ab15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion gnovm/stdlibs/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gnovm/stdlibs/testing/testing.gno
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func unixNano() int64
func recoverWithStacktrace() (interface{}, string)

// used to filter tests, we can't directly use regexp here due to a cyclic import; only present in testing stdlibs
func matchString(pat, str string) bool
func matchString(pat, str string) (bool, string)

func tRunner(t *T, fn testingFunc, verbose bool) {
if !t.shouldRun(t.name) {
Expand Down
2 changes: 1 addition & 1 deletion gnovm/stdlibs/testing/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func X_unixNano() int64 {
return 0
}

func X_matchString(pat, str string) bool {
func X_matchString(pat, str string) (bool, string) {
panic("only implemented in testing stdlibs")
}

Expand Down

0 comments on commit f44ab15

Please sign in to comment.