@@ -18,8 +18,8 @@ def test_parses_audit_markdown_table
1818 result = Parser . parse ( table )
1919
2020 expected = [
21- { package : "lodash" , severity : "high" , vulnerable_versions : "<4.17.21" , vulnerability : "Prototype Pollution in lodash" } ,
22- { package : "@hotwired/stimulus" , severity : "moderate" , vulnerable_versions : "<3.2.2" , vulnerability : "ReDoS in stimulus router" }
21+ { package : "lodash" , severity : "high" , vulnerable_versions : "<4.17.21" , vulnerability : "Prototype Pollution in lodash" } ,
22+ { package : "@hotwired/stimulus" , severity : "moderate" , vulnerable_versions : "<3.2.2" , vulnerability : "ReDoS in stimulus router" }
2323 ]
2424
2525 assert_equal expected , result
@@ -38,9 +38,9 @@ def test_parses_outdated_markdown_table
3838 result = Parser . parse ( table )
3939
4040 expected = [
41- { package : "@hotwired/stimulus" , current : "3.2.1" , latest : "3.2.2" } ,
42- { package : "lodash" , current : "4.17.20" , latest : "4.17.21" } ,
43- { package : "react" , current : "18.2.0" , latest : "19.0.0" }
41+ { package : "@hotwired/stimulus" , current : "3.2.1" , latest : "3.2.2" } ,
42+ { package : "lodash" , current : "4.17.20" , latest : "4.17.21" } ,
43+ { package : "react" , current : "18.2.0" , latest : "19.0.0" }
4444 ]
4545
4646 assert_equal expected , result
0 commit comments