You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mix project, you can mix test to run ExUnit tests that contains calls to Gleam APIs (e.g. :[email protected]), but it fails if you specifically target ExUnit test files with command line arguments.
The module gleeunit is being imported, but gleeunit, the package it
belongs to, is not a direct dependency of your package.
In a future version of Gleam this may become a compile error.
Run this command to add it to your dependencies:
gleam add gleeunit
warning: Redundant assertion
┌─ /Users/yumatsuzawa/workspace/mix_gleam/test_projects/basic_project/_build/test/lib/basic_project/test/basic_project_test.gleam:9:7
│
9 │ let assert World = basic_project.hello()
│ ^^^^^^ You can remove this
This assertion is redundant since the pattern covers all possibilities.
warning: Redundant assertion
┌─ /Users/yumatsuzawa/workspace/mix_gleam/test_projects/basic_project/_build/test/lib/basic_project/test/basic_project_test.gleam:13:7
│
13 │ let assert World = hello_elixir()
│ ^^^^^^ You can remove this
This assertion is redundant since the pattern covers all possibilities.
Situation
In mix project, you can
mix test
to run ExUnit tests that contains calls to Gleam APIs (e.g.:[email protected]
), but it fails if you specifically target ExUnit test files with command line arguments.Reproduction
mix archive.install hex mix_gleam
cd test_projects/basic_project
mix deps.get
mix test
Result (Success):
mix test test/basic_project_test.exs
Result (Failure):
Environments
The text was updated successfully, but these errors were encountered: