فهرست منبع

Comply with editorconfig `insert_final_newline` in paperkey.html

Robin Schneider 4 سال پیش
والد
کامیت
018c33025c
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/borg/paperkey.html
  2. 1 1
      src/borg/testsuite/archiver.py

+ 1 - 1
src/borg/paperkey.html

@@ -2438,4 +2438,4 @@ window.addEventListener("load", loaded, false);
 </script>
 
 </body>
-</html>
+</html>

+ 1 - 1
src/borg/testsuite/archiver.py

@@ -2790,7 +2790,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
 
         assert bin_to_hex(repo_id) in export_contents
         assert export_contents.startswith('<!doctype html>')
-        assert export_contents.endswith('</html>')
+        assert export_contents.endswith('</html>\n')
 
     def test_key_export_directory(self):
         export_directory = self.output_path + '/exported'