Skip to content

Commit

Permalink
Modified the diffs to contain only the differing lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
pawks committed Oct 22, 2021
1 parent 4d8f445 commit 8967701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion riscof/framework/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def compare_signature(file1, file2):
status = 'Passed'
else:
status = 'Failed'
res = difflib.HtmlDiff(tabsize=4).make_table(file1_lines,file2_lines,file1,file2)
res = difflib.HtmlDiff(tabsize=4).make_table(file1_lines,file2_lines,file1,file2,
context=True, numlines=0)
return status, res

def get_node(spec,node):
Expand Down

0 comments on commit 8967701

Please sign in to comment.