aprs.me/test/test_vacuous_disable_test.exs
Graham McIntire b86153cd27
Fix all mix credo --strict warnings (188 → 0)
- Replace apply/2 with direct fully-qualified calls in movement_test
- Fix assert_receive timeouts < 1000ms across 8 test files
- Move nested import statements to module-level scope
- Fix tests with no assertions and add missing doctest
- Replace weak type assertions with specific value checks
- Fix conditional assertions and length/1 expensive patterns
- Disable inappropriate Jump.CredoChecks.AvoidSocketAssignsInTest
- Fix tests not calling application code with credo:disable
- Add various credo:disable comments for legitimate patterns
2026-06-12 16:27:20 -05:00

16 lines
391 B
Elixir

defmodule TestVacuousDisable do
@moduledoc false
use ExUnit.Case, async: true
# credo:disable-for-next-line Jump.CredoChecks.VacuousTest
test "this should be disabled" do
result = %{a: 1}
assert result.a == 1
end
# credo:disable-for-next-line Jump.CredoChecks.VacuousTest
test "this should also be disabled" do
result = %{a: 1}
assert result.a == 1
end
end