Skip to content

Commit 3863144

Browse files
committed
Use a non-sensitive example path in absolute-path rejection test
1 parent 19b2841 commit 3863144

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/devtools_shared/test/server/file_system_test.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ void main() {
1616
// directory and read an arbitrary file on disk.
1717
expect(LocalFileSystem.devToolsFileFromPath('/etc/passwd'), isNull);
1818
expect(
19-
LocalFileSystem.devToolsFileFromPath(
20-
'/home/user/.config/gcloud/application_default_credentials.json',
21-
),
19+
LocalFileSystem.devToolsFileFromPath('/absolute/path/to/file.json'),
2220
isNull,
2321
);
2422
});

0 commit comments

Comments
 (0)