Minor tweak for windows testcase expecting IllegalArgumentException
This commit is contained in:
parent
17895f8256
commit
d49ecdf1d6
|
@ -83,11 +83,17 @@ public abstract class AbstractFSResourceTest
|
|||
{
|
||||
if (OS.IS_UNIX)
|
||||
{
|
||||
// A windows path is invalid under unix
|
||||
newResource(new URI("file://Z:/:"));
|
||||
}
|
||||
else if (OS.IS_WINDOWS)
|
||||
{
|
||||
newResource(new URI("file://some\"text\""));
|
||||
// "CON" is a reserved name under windows
|
||||
newResource(new URI("file://CON"));
|
||||
}
|
||||
else
|
||||
{
|
||||
assumeFalse("Unknown OS type",false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue