blob: 7d9ab7ee6425e52c6a1705d8da8bc3cea6ca8785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")
}
|