File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ class WriteiniFileTest extends TestCase
38
38
39
39
public function testCreate ()
40
40
{
41
- (new WriteiniFile ('tests/file_ini/Create_test.ini ' ))
42
- ->create ($ this ->var )
43
- ->write ();
41
+ (new WriteiniFile ('tests/file_ini/Create_test.ini ' ))->create ($ this ->var )->write ();
44
42
45
43
$ this ->assertFileEquals ('tests/file_ini/Create.ini ' , 'tests/file_ini/Create_test.ini ' );
46
44
}
@@ -67,13 +65,8 @@ public function testRm()
67
65
68
66
public function testErase ()
69
67
{
70
- (new WriteiniFile ('tests/file_ini/Erase_test.ini ' ))
71
- ->create ($ this ->var )
72
- ->write ();
73
-
74
- (new WriteiniFile ('tests/file_ini/Erase_test.ini ' ))
75
- ->erase ()
76
- ->write ();
68
+ (new WriteiniFile ('tests/file_ini/Erase_test.ini ' ))->create ($ this ->var )->write ();
69
+ (new WriteiniFile ('tests/file_ini/Erase_test.ini ' ))->erase ()->write ();
77
70
78
71
$ this ->assertFileEquals ('tests/file_ini/Erase.ini ' , 'tests/file_ini/Erase_test.ini ' );
79
72
}
You can’t perform that action at this time.
0 commit comments