Skip to content

Commit

Permalink
FIX remove blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Mar 5, 2024
1 parent 360a9cb commit 2cd1a3f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions tests/test_transforms_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ def test_currentHour24(self):
def test_currentDay(self):
result = self.jexl.evaluate('0|currentDay', {})
self.assertEqual(result, 1)


1 change: 0 additions & 1 deletion tests/test_transforms_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@ def test_valueResolver(self):

# Invalid usage (unknown value)
self.assertRaises(ValueError, self.jexl.evaluate, '"UNKNOWN"|' + expr, {})

1 change: 0 additions & 1 deletion tests/test_transforms_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class TestTransformsMisc(unittest.TestCase):
def setUp(self) -> None:
self.jexl = JEXL()


def test_typeOf(self):
context = {"a": "text", "b": 7, "c": 7.4, "d": True, "e": None, "f": {}, "g": []}
result = self.jexl.evaluate('a|typeOf', context)
Expand Down
1 change: 0 additions & 1 deletion tests/test_transforms_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def test_substring(self):
result = self.jexl.evaluate('c|substring(3,6)', context)
self.assertEqual(result, 'ven')


def test_includes(self):
context = {'c': 'aGivenString'}
result = self.jexl.evaluate('c|includes("Given")', context)
Expand Down

0 comments on commit 2cd1a3f

Please sign in to comment.