Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 915b148

Browse files
committedFeb 17, 2021
tst
1 parent e277ee0 commit 915b148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎spec/inputs/file_tail_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
fd.puts("ignore me 2")
226226
fd.fsync
227227
end
228-
mlconf.update("pattern" => "^\s", "what" => "previous")
228+
mlconf.update("pattern" => "^\\s", "what" => "previous")
229229
conf.update("type" => "blah",
230230
"path" => path_path,
231231
"sincedb_path" => sincedb_path,
@@ -344,7 +344,7 @@
344344
let(:suffix) { "J" }
345345
let(:tmpfile_path2) { ::File.join(tmpdir_path, "K.txt") }
346346
before do
347-
mlconf.update("pattern" => "^\s", "what" => "previous")
347+
mlconf.update("pattern" => "^\\s", "what" => "previous")
348348
conf.update(
349349
"type" => "blah",
350350
"path" => path_path,

0 commit comments

Comments
 (0)
Please sign in to comment.