File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,8 @@ def main():
89
89
specifications = test_case .get ("specification" )
90
90
if specifications is not None :
91
91
for each in specifications :
92
- (kind , section ), = (
93
- (k , v ) for k , v in each .items () if k != "quote"
94
- )
92
+ quote = each .pop ("quote" , "" )
93
+ (kind , section ), = each .items ()
95
94
96
95
number = re .search (r"\d+" , kind )
97
96
spec = "" if number is None else number .group (0 )
@@ -100,12 +99,14 @@ def main():
100
99
spec = spec ,
101
100
section = section ,
102
101
)
102
+
103
+ message = f"{ url } \n \n { quote } " if quote else url
103
104
sys .stdout .write (
104
105
annotation (
105
106
path = path ,
106
107
line = line_number_of (path , test_case ),
107
108
title = "Specification Link" ,
108
- message = url ,
109
+ message = message ,
109
110
),
110
111
)
111
112
You can’t perform that action at this time.
0 commit comments