Owen Mansel-Chan
c170002fb1
Update test output
2026-06-04 13:52:05 +01:00
Owen Mansel-Chan
59908124c1
Add test showing limits of DeferStmt in CFG
...
There are paths to the exit of the function which go through the defer
statement and paths which don't, so we add an optional call to the
deferred function. This causes FPs in the query as it stands.
2026-06-04 12:21:38 +01:00
Owen Mansel-Chan
7b2912376b
Add failing test for os.File.Sync with defered Close calls
2025-03-06 10:14:28 +00:00
Owen Mansel-Chan
63bfa36be8
Convert to inline expectations test
2025-03-05 21:39:04 +00:00
Owen Mansel-Chan
e958a75223
Add comments indicating whether results are expected at new calls
2023-11-30 11:48:10 +00:00
Owen Mansel-Chan
de87dd5dee
Test no result if deferred function returns error
2023-11-28 14:23:37 +00:00
Owen Mansel-Chan
57dafd3732
Improve test for UnhandledCloseWritableHandle
...
Now the different paths won't have the same two sources.
2023-11-28 14:21:43 +00:00
Michael B. Gale
c252ec0414
Add test for deferred close that returns error
2023-02-06 08:47:47 +00:00
Michael B. Gale
e05bce9863
Update expected test results
2023-02-06 08:47:46 +00:00
Michael B. Gale
7e9617f3ce
Detect lack of error handling for os.File.Close
2023-02-06 08:47:43 +00:00