diff --git a/spec/ex-commands-spec.coffee b/spec/ex-commands-spec.coffee index d0c8744..4e3d839 100644 --- a/spec/ex-commands-spec.coffee +++ b/spec/ex-commands-spec.coffee @@ -764,7 +764,7 @@ describe "the commands", -> test = (escapeChar, escaped) -> openEx() - submitNormalModeInputText(":substitute/,/\#{escapeChar}/g") + submitNormalModeInputText(":substitute/,/\\#{escapeChar}/g") expect(editor.getText()).toEqual("abc#{escaped}def#{escaped}ghi") it "replaces with a tab", -> test('t', '\t')