Skip to content

Commit

Permalink
Disable JIT spec on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Jan 26, 2023
1 parent 5aa274d commit ece16e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/std/regex_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ describe "Regex" do
/foo/.matches?("foo", options: Regex::Options::ANCHORED).should be_true
end

it "doesn't crash with a large single line string" do
# FIXME: PCRE2 JIT match on windows fails with invalid memory access.
pending_win32 "doesn't crash with a large single line string" do
str = File.read(datapath("large_single_line_string.txt"))

{% if Regex::Engine.resolve.name == "Regex::PCRE" %}
Expand Down

0 comments on commit ece16e0

Please sign in to comment.