File tree 3 files changed +12
-3
lines changed
src/test/java/com/arcticicestudio/nord
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 15
15
<orderEntry type =" library" scope =" TEST" name =" Maven: junit:junit:4.12" level =" project" />
16
16
<orderEntry type =" library" scope =" TEST" name =" Maven: org.hamcrest:hamcrest-core:1.3" level =" project" />
17
17
<orderEntry type =" library" scope =" TEST" name =" Maven: org.hamcrest:hamcrest-library:1.3" level =" project" />
18
+ <orderEntry type =" library" scope =" TEST" name =" Maven: com.arcticicestudio:arcver-java:0.11.0-SNAPSHOT" level =" project" />
18
19
</component >
19
20
</module >
Original file line number Diff line number Diff line change 3
3
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
4
title POM +
5
5
project nord-java +
6
- version 0.1.0 +
7
6
repository https://github.com/arcticicestudio/nord-java +
8
7
author Arctic Ice Studio +
9
8
@@ -17,7 +16,7 @@ Apache Maven
17
16
(https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html)
18
17
Sonatype
19
18
(http://books.sonatype.com/mvnref-book/reference)
20
- JFrog Bintray
19
+ JFrog
21
20
(https://bintray.com/docs/usermanual)
22
21
-->
23
22
<project
@@ -126,6 +125,13 @@ JFrog Bintray
126
125
<version >1.3</version >
127
126
<scope >test</scope >
128
127
</dependency >
128
+
129
+ <dependency >
130
+ <groupId >com.arcticicestudio</groupId >
131
+ <artifactId >arcver-java</artifactId >
132
+ <version >0.11.0-SNAPSHOT</version >
133
+ <scope >test</scope >
134
+ </dependency >
129
135
</dependencies >
130
136
131
137
<build >
Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ copyright Copyright (C) 2016 +
11
11
*/
12
12
package com .arcticicestudio .nord ;
13
13
14
+ import com .arcticicestudio .arcver .Version ;
14
15
import org .junit .Test ;
15
16
16
17
import static org .junit .Assert .assertEquals ;
18
+ import static org .junit .Assert .assertTrue ;
17
19
18
20
/**
19
21
* Unit tests for the public API {@link Nord}.
@@ -65,6 +67,6 @@ public void shouldReturnTheCorrectRGBColorCode() {
65
67
66
68
@ Test
67
69
public void shouldReturnTheCorrectVersionString () {
68
- assertEquals ( Nord .NORD0 . getVersion (), "0.1.0" );
70
+ assertTrue ( Version . valueOf ( Nord .getVersion ()). satisfies ( "0.1.0" ) );
69
71
}
70
72
}
You can’t perform that action at this time.
0 commit comments