Refactor the Sum class to be moved into the samples package.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
class SumSpec extends Specification {
|
||||
Reference in New Issue
Block a user