diff options
| author | EuAndreh <eu@euandre.org> | 2024-09-25 22:52:52 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-09-25 22:52:52 -0300 |
| commit | 1a972bf725a7939129115289e1a6052a21fce9f5 (patch) | |
| tree | e5950e5ae08cd2bc5c5ae61b454ee616092e826f /tests | |
| parent | src/gobang.go: Put sourceInfo skip level into private const (diff) | |
| download | gobang-1a972bf725a7939129115289e1a6052a21fce9f5.tar.gz gobang-1a972bf725a7939129115289e1a6052a21fce9f5.tar.xz | |
src/gobang.go: Increase sourceInfoSkip from 3 to 4
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gobang.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gobang.go b/tests/gobang.go index 954f588..7a88f28 100644 --- a/tests/gobang.go +++ b/tests/gobang.go @@ -657,14 +657,14 @@ func test_SetLoggerOutput() { AssertEqual(ok, true) file, ok := fileRaw.(string) AssertEqual(ok, true) - const FILENAME = "tests/gobang.go" + const FILENAME = "g/src/gobang.go" AssertEqual(file[len(file) - len(FILENAME):], FILENAME) functionRaw, ok := src["function"] AssertEqual(ok, true) function, ok := functionRaw.(string) AssertEqual(ok, true) - AssertEqual(function, "gobang.test_SetLoggerOutput.func1") + AssertEqual(function, "gobang.Testing") lineRaw, ok := src["line"] AssertEqual(ok, true) |
