Skip to content

Commit

Permalink
test failure with fail
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jul 18, 2024
1 parent 077517f commit 1bceabc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions system_tests/fa/fa_test.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package fa_test

import (
"errors"
"github.com/offchainlabs/nitro/util/testhelpers"
"testing"
)

func TestAliasing(t *testing.T) {
err := errors.New("test")
Require(t, err)
Fail(t, "fail")
}

func Require(t *testing.T, err error, text ...interface{}) {
func Fail(t *testing.T, printables ...interface{}) {
t.Helper()
testhelpers.RequireImpl(t, err, text...)
testhelpers.FailImpl(t, printables...)
}

0 comments on commit 1bceabc

Please sign in to comment.