Skip to content

Commit 5a9b85e

Browse files
Fix file structure for unittests
1 parent c41f856 commit 5a9b85e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

dub.sdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ configuration "unittest" {
2525
dependency "numem:hookset-libc" version="*"
2626

2727
dependency "silly" version="~>1.1.1"
28-
sourcePaths "numem/" "tests/"
29-
importPaths "numem/" "tests/"
28+
sourcePaths "source/" "tests/"
29+
importPaths "source/" "tests/"
3030
}

tests/casting.d renamed to tests/ut/casting.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.casting;
1+
module ut.casting;
22
import numem.casting;
33

44
private class Test {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.core.atomic;
1+
module ut.core.atomic;
22
import numem.core.atomic;
33

44
@("load: i32")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.core.exception;
1+
module ut.core.exception;
22
import numem.core.exception;
33

44
@("catch & free NuException")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.core.memory;
1+
module ut.core.memory;
22
import numem.core.memory;
33

44
@("nu_resize")

tests/lifetime.d renamed to tests/ut/lifetime.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.lifetime;
1+
module ut.lifetime;
22
import numem.lifetime;
33

44
class TestClass {

tests/object.d renamed to tests/ut/object.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module tests.object;
1+
module ut.object;
22
import numem.object;
33
import numem.lifetime;
44

0 commit comments

Comments
 (0)