diff options
author | Ashlee Young <ashlee@wildernessvoice.com> | 2015-11-29 08:22:13 -0800 |
---|---|---|
committer | Ashlee Young <ashlee@wildernessvoice.com> | 2015-11-29 08:22:13 -0800 |
commit | df5afa4fcd9725380f94ca6476248d4cc24f889a (patch) | |
tree | 65456f62397305febf7f40778c5a413a35d094ef /framework/src/audit/bindings/golang/test.go | |
parent | 76f6bf922552c00546e6e85ca471eab28f56986c (diff) |
v2.4.4 audit sources
Change-Id: I9315a7408817db51edf084fb4d27fbb492785084
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/audit/bindings/golang/test.go')
-rw-r--r-- | framework/src/audit/bindings/golang/test.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/framework/src/audit/bindings/golang/test.go b/framework/src/audit/bindings/golang/test.go new file mode 100644 index 00000000..7d9ab7ee --- /dev/null +++ b/framework/src/audit/bindings/golang/test.go @@ -0,0 +1,18 @@ +package main + +import ( + "./audit" + "fmt" +) + +func main() { + if audit.AuditValueNeedsEncoding("test") { + fmt.Printf("Failed test 1\n") + return + } + if !audit.AuditValueNeedsEncoding("test test") { + fmt.Printf("Failed test 2\n") + return + } + fmt.Printf("Success\n") +} |