Skip to content

Commit d871a50

Browse files
committed
fix test
1 parent e3351a0 commit d871a50

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/sources_test.exs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ defmodule Sentry.SourcesTest do
55

66
test "exception makes call to Sentry API" do
77
correct_context = %{"context_line" => " raise RuntimeError, \"Error\"",
8-
"post_context" => [" end", "", " match \"/error_route\" do"],
9-
"pre_context" => ["", " get \"/error_route\" do", " _ = conn"]
10-
}
8+
"post_context" => [" end", "", " post \"/error_route\" do"],
9+
"pre_context" => ["", " get \"/error_route\" do",
10+
" _ = conn"]
11+
}
1112
bypass = Bypass.open
1213
Bypass.expect bypass, fn conn ->
1314
{:ok, body, conn} = Plug.Conn.read_body(conn)

0 commit comments

Comments
 (0)