File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ from swift .tools .test .qltest .utils import *
2+
3+ set_dummy_extractor ("""
4+ if [[ " $@ " =~ a.swift ]]; then exit 42; fi
5+ if [[ " $@ " =~ b.swift ]]; then exit 1; fi
6+ """ )
7+ run_qltest ()
8+ assert_extractor_executed_with (
9+ "a.swift" ,
10+ "b.swift" ,
11+ )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- //codeql-extractor-expected-status: 42
File renamed without changes.
Original file line number Diff line number Diff line change 11from swift .tools .test .qltest .utils import *
22
3- set_dummy_extractor ("""
4- if [[ " $@ " =~ a.swift ]]; then exit 42; fi
5- if [[ " $@ " =~ b.swift ]]; then exit 1; fi
6- """ )
7- run_qltest ()
3+ set_dummy_extractor ()
4+ run_qltest (expected_returncode = 1 )
85assert_extractor_executed_with (
96 "a.swift" ,
107 "b.swift" ,
8+ "c.swift" ,
119)
You can’t perform that action at this time.
0 commit comments