File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
main/java/io/github/mianalysis/mia/object/parameters/text
test/java/io/github/mianalysis/mia/object/parameters Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
package io .github .mianalysis .mia .object .parameters .text ;
2
2
3
- import io .github .mianalysis .mia .MIA ;
4
3
import io .github .mianalysis .mia .module .Module ;
5
4
import io .github .mianalysis .mia .module .system .GlobalVariables ;
6
5
import io .github .mianalysis .mia .object .Workspace ;
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ public void setValueFromStringProvidedBlank() {
198
198
doubleP .setValueFromString ("" );
199
199
200
200
// The following should throw the NumberFormatException
201
- assertEquals ( 12 , doubleP .getValue (null ), tolerance );
201
+ assertThrows ( NumberFormatException . class , () -> doubleP .getValue (null ));
202
202
203
203
}
204
204
You can’t perform that action at this time.
0 commit comments