Skip to content

Commit e115b28

Browse files
committed
Fix single_directory() test on Windows
1 parent 48ff87e commit e115b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/php/com/amazon/aws/lambda/unittest/PackagingTest.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function single_directory() {
7373
$zip= $this->package(new Sources($this->create(['src' => ['dir', 0755]]), ['src']));
7474

7575
$dir= $zip->next();
76-
Assert::equals('src'.DIRECTORY_SEPARATOR, $dir->getName());
76+
Assert::equals('src/', $dir->getName());
7777
Assert::true($dir->isDirectory());
7878
Assert::false($zip->hasNext());
7979
}

0 commit comments

Comments
 (0)