File tree 1 file changed +4
-2
lines changed
src/test/java/org/apache/commons/net/ftp/parser 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,6 @@ public void testCorrectGroupNameParsing() {
196
196
assertEquals (f .getSize (), 12414535 );
197
197
assertEquals (f .getName (), "test 1999 abc.pdf" );
198
198
199
-
200
199
Calendar cal = Calendar .getInstance ();
201
200
cal .set (Calendar .MONTH , Calendar .MARCH );
202
201
cal .set (Calendar .DAY_OF_MONTH , 17 );
@@ -208,8 +207,11 @@ public void testCorrectGroupNameParsing() {
208
207
}
209
208
210
209
public void testFilenamesWithEmbeddedNumbers () {
211
- FTPFile f = getParser ().parseFTPEntry ("-rw-r--r-- 1 root root 111325 Feb 25 12:00 123 456 abc.csv" );
210
+ FTPFile f = getParser ().parseFTPEntry ("-rw-rw-rw- 1 user group 5840 Mar 19 09:34 123 456 abc.csv" );
212
211
assertEquals (f .getName (), "123 456 abc.csv" );
212
+ assertEquals (f .getSize (), 5840 );
213
+ assertEquals (f .getUser (), "user" );
214
+ assertEquals (f .getGroup (), "group" );
213
215
}
214
216
215
217
/**
You can’t perform that action at this time.
0 commit comments