Skip to content

Commit

Permalink
Removed deprecated 'with' from project init scaffold and small bug fix (
Browse files Browse the repository at this point in the history
#653)

* Removed deprecated 'with' from project init scaffold and added 'firefox-bin' and 'chromium-bin' to BROWSER_PATHS

* Removed 'chromium-bin' as it is deprecated
  • Loading branch information
jrrom authored Sep 12, 2023
1 parent 302f413 commit 620683a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app_init/app/tests/Main.mint
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
suite "Main" {
test "Greets Mint" {
with Test.Html {
<Main/>
|> start()
|> assertTextOf("a", "Learn Mint")
}
<Main/>
|> Test.Html.start()
|> Test.Html.assertTextOf("a", "Learn Mint")
}
}
1 change: 1 addition & 0 deletions src/test_runner.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module Mint
BROWSER_PATHS = {
firefox: {
"firefox",
"firefox-bin",
"/Applications/Firefox.app/Contents/MacOS/firefox-bin",
},
chrome: {
Expand Down

0 comments on commit 620683a

Please sign in to comment.