Skip to content

Commit

Permalink
moving github actions to ubutun 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
cblavier committed Oct 20, 2023
1 parent f4ac5c4 commit 420a962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build and test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

env:
MIX_ENV: test
Expand Down
6 changes: 3 additions & 3 deletions test/phx_component_helpers_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule PhxComponentHelpersTest do
assigns = assigns(%{foo: "foo", bar: "bar"})

%{
heex_attributes: [bar: "bar", foo: "foo"],
heex_attributes: [foo: "foo", bar: "bar"],
heex_bar: [bar: "bar"],
heex_foo: [foo: "foo"]
} = Helpers.set_attributes(assigns, [:foo, :bar], into: :attributes)
Expand Down Expand Up @@ -272,7 +272,7 @@ defmodule PhxComponentHelpersTest do

assert new_assigns ==
assigns
|> Map.put(:heex_phx_attributes, "phx-change": "foo", "phx-click": "bar")
|> Map.put(:heex_phx_attributes, "phx-click": "bar", "phx-change": "foo")
|> Map.put(:"heex_phx-change", "phx-change": "foo")
|> Map.put(:"heex_phx-click", "phx-click": "bar")
end
Expand Down Expand Up @@ -303,7 +303,7 @@ defmodule PhxComponentHelpersTest do

assert new_assigns ==
assigns
|> Map.put(:heex_phx_attributes, "phx-change": "foo", "phx-click": "bar")
|> Map.put(:heex_phx_attributes, "phx-click": "bar", "phx-change": "foo")
|> Map.put(:"heex_phx-change", "phx-change": "foo")
|> Map.put(:"heex_phx-click", "phx-click": "bar")
end
Expand Down

0 comments on commit 420a962

Please sign in to comment.