Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeytewari-ul committed Jun 24, 2024
1 parent 4b2bc15 commit 24cd381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/python/Target.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# define constants
main_method_identifier = "public static void main"
unlogged_annotation = "@Unlogged(port = " + "12100" + ")"
unlogged_annotation_base_string = "Unlogged"
unlogged_import = "import io.unlogged.Unlogged;"

class ReplayTest:
Expand Down Expand Up @@ -106,7 +107,7 @@ def modify_main(self):
# check annotation
annotation_present = False
for line in file:
if (unlogged_annotation in line):
if (unlogged_annotation_base_string in line):
annotation_present = True

# add annotation
Expand Down

0 comments on commit 24cd381

Please sign in to comment.