Skip to content

Commit

Permalink
Update common_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenny committed Oct 31, 2020
1 parent 40b1000 commit d470af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (

func Test_Utils_FunctionName(t *testing.T) {
t.Parallel()
AssertEqual(t, "_/home/runner/work/utils/utils.Test_Utils_UUID", FunctionName(Test_Utils_UUID))
AssertEqual(t, "github.com/gofiber/utils.Test_Utils_UUID", FunctionName(Test_Utils_UUID))

AssertEqual(t, "_/home/runner/work/utils/utils.Test_Utils_FunctionName.func1", FunctionName(func() {}))
AssertEqual(t, "github.com/gofiber/utils.Test_Utils_FunctionName.func1", FunctionName(func() {}))

var dummyint = 20
AssertEqual(t, "int", FunctionName(dummyint))
Expand Down

0 comments on commit d470af7

Please sign in to comment.