Chromium Code Reviews| Index: lib/src/prism/tests/languages/bash/command_substitution_feature.test | 
| diff --git a/lib/src/prism/tests/languages/bash/command_substitution_feature.test b/lib/src/prism/tests/languages/bash/command_substitution_feature.test | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..f849829b14bbf27f1a49d20300814a9599066c7e | 
| --- /dev/null | 
| +++ b/lib/src/prism/tests/languages/bash/command_substitution_feature.test | 
| @@ -0,0 +1,34 @@ | 
| +$(echo foo) | 
| +`echo foo` | 
| +"$(echo foo) bar" | 
| + | 
| +---------------------------------------------------- | 
| + | 
| +[ | 
| + ["variable", [ | 
| + ["variable", "$("], | 
| + ["keyword", "echo"], | 
| + " foo", | 
| + ["variable", ")"] | 
| + ]], | 
| + ["variable", [ | 
| + ["variable", "`"], | 
| + ["keyword", "echo"], | 
| + " foo", | 
| + ["variable", "`"] | 
| + ]], | 
| + ["string", [ | 
| + "\"", | 
| + ["variable", [ | 
| + ["variable", "$("], | 
| + ["keyword", "echo"], | 
| + " foo", | 
| + ["variable", ")"] | 
| + ]], | 
| + " bar\"" | 
| + ]] | 
| +] | 
| + | 
| +---------------------------------------------------- | 
| + | 
| +Checks for command substitution. |