Skip to content

Commit

Permalink
Allow unsupported shell error in stateless.js compat tests (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Dec 22, 2023
1 parent 4f4a8f7 commit a317005
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/compat/stateless.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function testShescapeEscape() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'escape' of undefined",
"Cannot read properties of undefined (reading 'escape')",
];
Expand All @@ -45,6 +46,7 @@ export function testShescapeEscapeAll() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'escapeAll' of undefined",
"Cannot read properties of undefined (reading 'escapeAll')",
];
Expand All @@ -69,6 +71,7 @@ export function testShescapeQuote() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'quote' of undefined",
"Cannot read properties of undefined (reading 'quote')",
"Quoting is not supported when no shell is used",
Expand All @@ -94,6 +97,7 @@ export function testShescapeQuoteAll() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'quoteAll' of undefined",
"Cannot read properties of undefined (reading 'quoteAll')",
"Quoting is not supported when no shell is used",
Expand Down

0 comments on commit a317005

Please sign in to comment.