• R/O
  • SSH

kink: Commit

Kink runtime


Commit MetaInfo

Revision9f467d6700dac11acac3993b9937e4234849031a (tree)
Time2020-10-11 21:24:01
Authormiyakawataku
Commitermiyakawataku

Log Message

remove an unused field from a test class

Change Summary

Incremental Difference

diff -r ec665ba07999 -r 9f467d6700da config/spotbugs/exclude.xml
--- a/config/spotbugs/exclude.xml Sun Oct 11 21:04:40 2020 +0900
+++ b/config/spotbugs/exclude.xml Sun Oct 11 21:24:01 2020 +0900
@@ -87,6 +87,14 @@
8787 </Or>
8888 </Match>
8989
90+ <Match>
91+ <Class name="~.*CallStackSlice" />
92+ <Or>
93+ <Bug pattern="EI_EXPOSE_REP" />
94+ <Bug pattern="EI_EXPOSE_REP2" />
95+ </Or>
96+ </Match>
97+
9098 </FindBugsFilter>
9199
92100 <!-- vim: set et sw=4 sts=4 : -->
diff -r ec665ba07999 -r 9f467d6700da src/test/java/org/kink_lang/kink/internal/callstack/CallStackSliceTest.java
--- a/src/test/java/org/kink_lang/kink/internal/callstack/CallStackSliceTest.java Sun Oct 11 21:04:40 2020 +0900
+++ b/src/test/java/org/kink_lang/kink/internal/callstack/CallStackSliceTest.java Sun Oct 11 21:24:01 2020 +0900
@@ -1,22 +1,13 @@
11 package org.kink_lang.kink.internal.callstack;
22
3-import org.junit.jupiter.api.AfterAll;
43 import org.junit.jupiter.api.Test;
54
65 import static org.assertj.core.api.Assertions.assertThat;
76
8-import org.kink_lang.kink.Vm;
97 import org.kink_lang.kink.internal.test.EqualityVerifier;
108
119 public class CallStackSliceTest {
1210
13- private static Vm vm = Vm.newVm();
14-
15- @AfterAll
16- public static void nullifyVm() {
17- CallStackSliceTest.vm = null;
18- }
19-
2011 @Test
2112 public void test_getCallStackSliceElements() {
2213 Cse[] cses = new Cse[] { new ResetFrame("foo"), new ResetFrame("bar") };
Show on old repository browser