We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e592df2 commit 51e2f15Copy full SHA for 51e2f15
1 file changed
test/elixir_console_web/live/console_live_test.exs
@@ -20,11 +20,11 @@ defmodule ElixirConsoleWeb.ConsoleLiveTest do
20
end
21
22
test "command result is displayed", %{html: html} do
23
- assert html =~ ~r/<div.*id="output.".*3.*<\/div>/s
+ assert html =~ ~r/<div[^>]*id="output.".*3.*<\/div>/s
24
25
26
test "binding value is displayed in the Current Variables section", %{html: html} do
27
- assert html =~ ~r/<h2.*Current Bindings<\/h2><ul><li.*>a: <code.*3<\/code>/s
+ assert html =~ ~r/<h2[^>]*>Current Bindings<\/h2><ul><li.*>a: <code.*3<\/code>/s
28
29
30
0 commit comments