mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
test(elixir): fix CRLF problems
This commit is contained in:
parent
a506e0313a
commit
e000f865fe
@ -4,8 +4,9 @@ defmodule GildedRoseTest do
|
|||||||
import ExUnit.CaptureIO
|
import ExUnit.CaptureIO
|
||||||
|
|
||||||
test "Approval test 30 days" do
|
test "Approval test 30 days" do
|
||||||
expected = File.read!("test/ApprovalTest.ThirtyDays.verified.txt")
|
expected = File.read!("test/ApprovalTest.ThirtyDays.verified.txt") |> String.replace("\r\n", "\n")
|
||||||
assert capture_io(fn -> GildedRose.TextTestFixture.run(30) end) == expected
|
result = capture_io(fn -> GildedRose.TextTestFixture.run(30) end) |> String.replace("\r\n", "\n")
|
||||||
|
assert result == expected
|
||||||
end
|
end
|
||||||
|
|
||||||
test "begin the journey of refactoring" do
|
test "begin the journey of refactoring" do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user