Skip to content

Commit 4758619

Browse files
committed
added windows updates, fixed a test.
1 parent 5fe83a6 commit 4758619

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

t/03-shell.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ foreach my $module (@shell_modules) {
4949
};
5050

5151
ok(defined $snippet, "init_snippet returns defined value - $module");
52-
like($snippet, qr/current[\\\/]bin/, "init_snippet contains current/bin path - $module");
52+
if ($module eq 'NVMPL::Shell::PowerShell') {
53+
like($snippet, qr/current([\\\/]bin)?/, "init_snippet contains current or current/bin path - $module");
54+
} else {
55+
like($snippet, qr/current[\\\/]bin/, "init_snippet contains current/bin path - $module");
56+
}
5357
}
5458

5559
done_testing();

0 commit comments

Comments
 (0)