We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fe83a6 commit 4758619Copy full SHA for 4758619
t/03-shell.t
@@ -49,7 +49,11 @@ foreach my $module (@shell_modules) {
49
};
50
51
ok(defined $snippet, "init_snippet returns defined value - $module");
52
- like($snippet, qr/current[\\\/]bin/, "init_snippet contains current/bin path - $module");
+ 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
+ }
57
}
58
59
done_testing();
0 commit comments