Fix crlf line endings for double-quote-string-fixer
diff --git a/tests/string_fixer_test.py b/tests/string_fixer_test.py
index a65213b..4adca4a 100644
--- a/tests/string_fixer_test.py
+++ b/tests/string_fixer_test.py
@@ -44,8 +44,15 @@
 
 @pytest.mark.parametrize(('input_s', 'output', 'expected_retval'), TESTS)
 def test_rewrite(input_s, output, expected_retval, tmpdir):
-    path = tmpdir.join('file.txt')
+    path = tmpdir.join('file.py')
     path.write(input_s)
     retval = main([path.strpath])
     assert path.read() == output
     assert retval == expected_retval
+
+
+def test_rewrite_crlf(tmpdir):
+    f = tmpdir.join('f.py')
+    f.write_binary(b'"foo"\r\n"bar"\r\n')
+    assert main((f.strpath,))
+    assert f.read_binary() == b"'foo'\r\n'bar'\r\n"