/usr/share/gocode/src/github.com/jacobsa/ogletest/test_cases/golden.panicking_test is in golang-github-jacobsa-ogletest-dev 0.0~git20150610-6.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | [----------] Running tests from PanickingTest
[ RUN ] PanickingTest.ExplicitPanic
TearDown running.
panicking_test.go:47:
panic: Panic in ExplicitPanic
github.com/jacobsa/ogletest/somepkg_test.(*PanickingTest).ExplicitPanic
some_file.txt:0
runtime.callXX
some_file.txt:0
reflect.Value.call
some_file.txt:0
reflect.Value.Call
some_file.txt:0
[ FAILED ] PanickingTest.ExplicitPanic
[ RUN ] PanickingTest.ExplicitPanicInHelperFunction
TearDown running.
panicking_test.go:34:
panic: Panic in someFuncThatPanics
github.com/jacobsa/ogletest/somepkg_test.someFuncThatPanics
some_file.txt:0
github.com/jacobsa/ogletest/somepkg_test.(*PanickingTest).ExplicitPanicInHelperFunction
some_file.txt:0
runtime.callXX
some_file.txt:0
reflect.Value.call
some_file.txt:0
reflect.Value.Call
some_file.txt:0
[ FAILED ] PanickingTest.ExplicitPanicInHelperFunction
[ RUN ] PanickingTest.NilPointerDerefence
TearDown running.
panicking_test.go:56:
panic: runtime error: invalid memory address or nil pointer dereference
github.com/jacobsa/ogletest/somepkg_test.(*PanickingTest).NilPointerDerefence
some_file.txt:0
runtime.callXX
some_file.txt:0
reflect.Value.call
some_file.txt:0
reflect.Value.Call
some_file.txt:0
[ FAILED ] PanickingTest.NilPointerDerefence
[ RUN ] PanickingTest.ZzzSomeOtherTest
TearDown running.
[ OK ] PanickingTest.ZzzSomeOtherTest
[----------] Finished with tests from PanickingTest
[----------] Running tests from SetUpPanicTest
[ RUN ] SetUpPanicTest.SomeTestCase
SetUp about to panic.
TearDown running.
panicking_test.go:74:
panic: Panic in SetUp
github.com/jacobsa/ogletest/somepkg_test.(*SetUpPanicTest).SetUp
some_file.txt:0
github.com/jacobsa/ogletest.RegisterTestSuite.func3
some_file.txt:0
github.com/jacobsa/ogletest.runTestFunction.func2
some_file.txt:0
[ FAILED ] SetUpPanicTest.SomeTestCase
[----------] Finished with tests from SetUpPanicTest
[----------] Running tests from TearDownPanicTest
[ RUN ] TearDownPanicTest.SomeTestCase
TearDown about to panic.
panicking_test.go:95:
panic: Panic in TearDown
github.com/jacobsa/ogletest/somepkg_test.(*TearDownPanicTest).TearDown
some_file.txt:0
github.com/jacobsa/ogletest.RegisterTestSuite.func5
some_file.txt:0
[ FAILED ] TearDownPanicTest.SomeTestCase
[----------] Finished with tests from TearDownPanicTest
--- FAIL: TestSomething (1.23s)
FAIL
exit status 1
FAIL somepkg 1.234s
|