   test "evaluates the source from a given file" do
     filename = Path.join(__DIR__, "fixtures/eex_template.eex")
     result = EEx.eval_file(filename)
-    assert result == "foo bar.\n"
+    assert result == "foo bar." <> os_newline
   end
 
   test "evaluates the source from a given file with bindings" do
     filename = Path.join(__DIR__, "fixtures/eex_template_with_bindings.eex")
     result = EEx.eval_file(filename, [bar: 1])
-    assert result == "foo 1\n"
+    assert result == "foo 1" <> os_newline
   end
 
   test "raises an Exception when there's an error with the given file" do

     }
  end

  defmodule TestEngine do
    @behaviour EEx.Engine


  end

  test "defined from file" do
    assert EExText.Compiled.file_sample(1) == "foo 1" <> os_newline
  end

  test "defined from file do not affect backtrace" do
