Skip to content

Commit

Permalink
Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lopsided98 authored and robwoolley committed Jan 20, 2025
1 parent 82b7b98 commit 2556da1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def test_public_domain(self):
l = NixLicense("Public Domain")
self.assertEqual(l.nix_code, 'publicDomain')

def test_escape_quote(self):
def test_escape_quote(self):
l = NixLicense(r'license with "quotes" and \backslash" ');
self.assertEqual(l.nix_code, r'"license-with-\"quotes\"-and-\\backslash"')
def test_escape_quote(self):

def test_escape_quote(self):
l = NixLicense('some license with the "${" sequence');
self.assertEqual(l.nix_code, r'"some-license-with-the-\"\${\"-sequence"')

0 comments on commit 2556da1

Please sign in to comment.