Debian Codegraph @

tools/antithesis-go-instrumentor/testdata/expected_output/customer/antithesis_catalog.go

raw
1 // Code generated by antithesis-go-instrumentor; DO NOT EDIT.
2
3 package main
4
5 // ----------------------------------------------------
6 // Antithesis LLC Go Instrumentor 0.6.0
7 //
8 // Assertion Catalog
9 //
10 // Generated on Thu Mar 19 17:22:56 EDT 2026
11 // ----------------------------------------------------
12
13 import "github.com/antithesishq/antithesis-sdk-go/assert"
14
15 func init() {
16
17 const condFalse = false
18 const condTrue = true
19 const wasHit = true
20 const notHit = !wasHit
21 const mustBeHit = true
22
23 const universalTest = "always"
24
25 const reachabilityTest = "reachability"
26
27 var noDetails map[string]any = nil
28
29 // Reachable(message, details)
30 assert.AssertRaw(condTrue, "reached the else branch", noDetails, "example.com/e2e-test", "foo", "main.go", 14, 0, notHit, mustBeHit, reachabilityTest, "Reachable", "reached the else branch")
31
32 // Always(cond, message, details)
33 assert.AssertRaw(condFalse, "always in main", noDetails, "example.com/e2e-test", "main", "main.go", 20, 0, notHit, mustBeHit, universalTest, "Always", "always in main")
34 }
35
36
37
38
39
40