Skip to content

Commit fac3330

Browse files
authored
Update PatternOptionBuilderTest.java
really exist file name?
1 parent e3d65b0 commit fac3330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public void testExistingFilePattern() throws Exception
163163
{
164164
Options options = PatternOptionBuilder.parsePattern("f<g<");
165165
CommandLineParser parser = new PosixParser();
166-
CommandLine line = parser.parse(options, new String[] { "-f", "test.properties", "-g", "build.xml" });
166+
CommandLine line = parser.parse(options, new String[] { "-f", "test.properties", "-g", "/dev/null" });
167167

168168
assertNotNull("option g not parsed, or not FileInputStream", (FileInputStream) line.getOptionObject("g"));
169169
assertNull("option f parsed", (FileInputStream) line.getOptionObject("f"));

0 commit comments

Comments
 (0)