Refactor the Sum class to be moved into the samples package.

main 0.2.1
KKlochko 2 years ago
parent df1261f31c
commit b1332c838b

@ -1,8 +0,0 @@
package space.kklochko.simple_jbdd.test_examples;
public class Sum {
static int sum(int a, int b) {
return a + b;
}
}

@ -0,0 +1,8 @@
package space.kklochko.simple_jbdd.test_examples.samples;
public class Sum {
public static int sum(int a, int b) {
return a + b;
}
}

@ -1,5 +1,6 @@
package space.kklochko.simple_jbdd.test_examples package space.kklochko.simple_jbdd.test_examples.samples
import space.kklochko.simple_jbdd.test_examples.samples.Sum
import spock.lang.Specification import spock.lang.Specification
class SumSpec extends Specification { class SumSpec extends Specification {
Loading…
Cancel
Save