Skip to content

Elixir tests fails on v1.19.0-rc.0 #14613

Closed
@slashmili

Description

@slashmili

Elixir and Erlang/OTP versions

building and running test on 514615d fails with

erlang version 27.2.4

asdf install elixir ref:514615d0347cb9bb513faa44ae1e36406979e516
....
==> ex_unit (ex_unit)
........................................................................................................................................................................................................................................................................................................................................................................

  1) test I/O protocol with get until (ExUnit.CaptureIOTest)
     test/ex_unit/capture_io_test.exs:181
     Assertion with == failed
     code:  assert :io.scan_erl_form(~c">") == {:error, {1, :erl_scan, {:string, 34, ~c"a"}}, 1}
     left:  {:error, {1, :erl_scan, {:unterminated, :string, ~c"a"}}, 1}
     right: {:error, {1, :erl_scan, {:string, 34, ~c"a"}}, 1}
     stacktrace:
       test/ex_unit/capture_io_test.exs:219: anonymous fn/0 in ExUnit.CaptureIOTest."test I/O protocol with get until"/1
       (ex_unit 1.17.0-dev) lib/ex_unit/capture_io.ex:287: ExUnit.CaptureIO.do_capture_gl/2
       (ex_unit 1.17.0-dev) lib/ex_unit/capture_io.ex:245: ExUnit.CaptureIO.do_with_io/3
       (ex_unit 1.17.0-dev) lib/ex_unit/capture_io.ex:139: ExUnit.CaptureIO.capture_io/2
       test/ex_unit/capture_io_test.exs:218: (test)

..............................................................
Finished in 4.3 seconds (2.2s on load, 0.2s async, 1.8s sync)
48 doctests, 375 tests, 1 failure

Operating system

MacOS 15.5

Current behavior

one test is failing.

Expected behavior

all tests pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions