diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/path/glob_test.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/path/glob_test.ts')
-rw-r--r-- | std/path/glob_test.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/std/path/glob_test.ts b/std/path/glob_test.ts index 1c90e765a..dba79c302 100644 --- a/std/path/glob_test.ts +++ b/std/path/glob_test.ts @@ -13,33 +13,33 @@ Deno.test({ assertEquals(globToRegExp("*.ts").test("unicorn.js"), false); assertEquals( globToRegExp(join("unicorn", "**", "cathedral.ts")).test( - join("unicorn", "in", "the", "cathedral.ts") + join("unicorn", "in", "the", "cathedral.ts"), ), - true + true, ); assertEquals( globToRegExp(join("unicorn", "**", "cathedral.ts")).test( - join("unicorn", "in", "the", "kitchen.ts") + join("unicorn", "in", "the", "kitchen.ts"), ), - false + false, ); assertEquals( globToRegExp(join("unicorn", "**", "bathroom.*")).test( - join("unicorn", "sleeping", "in", "bathroom.py") + join("unicorn", "sleeping", "in", "bathroom.py"), ), - true + true, ); assertEquals( globToRegExp(join("unicorn", "!(sleeping)", "bathroom.ts"), { extended: true, }).test(join("unicorn", "flying", "bathroom.ts")), - true + true, ); assertEquals( globToRegExp(join("unicorn", "(!sleeping)", "bathroom.ts"), { extended: true, }).test(join("unicorn", "sleeping", "bathroom.ts")), - false + false, ); }, }); @@ -59,7 +59,7 @@ testWalk( assertEquals(arr.length, 2); assertEquals(arr[0], "a/x.ts"); assertEquals(arr[1], "b/z.ts"); - } + }, ); testWalk( @@ -79,7 +79,7 @@ testWalk( }); assertEquals(arr.length, 1); assertEquals(arr[0], "a/yo/x.ts"); - } + }, ); testWalk( @@ -104,7 +104,7 @@ testWalk( assertEquals(arr.length, 2); assertEquals(arr[0], "a/deno/x.ts"); assertEquals(arr[1], "a/raptor/x.ts"); - } + }, ); testWalk( @@ -120,7 +120,7 @@ testWalk( assertEquals(arr.length, 2); assertEquals(arr[0], "x.js"); assertEquals(arr[1], "x.ts"); - } + }, ); Deno.test({ |