Skip to content

Commit

Permalink
Fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cantido committed Jul 7, 2024
1 parent 7817314 commit 23ab7c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/liberator/resource_codec_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ defmodule Liberator.ResourceCodecTest do
"text/plain" => BrokenMediaType
})

expected_message = """
The media type codec module Liberator.ResourceCodecTest.BrokenMediaType did not return a binary.
Media type codecs must return a binary.
Liberator.ResourceCodecTest.BrokenMediaType.encode!/1 returned %{a: 1, b: 2}
"""
expected_message = ~r/The compression codec module Liberator.ResourceCodecTest.BrokenMediaType did not return a binary\./

conn = conn(:get, "/")

Expand Down

0 comments on commit 23ab7c1

Please sign in to comment.