1// Copyright 2019 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package main 6 7import ( 8 "os" 9 10 "./b" 11) 12 13func main() { 14 seed := "some things are better" 15 bsl := []byte(seed) 16 b.CallReadValues("/dev/null") 17 vals, err := b.ReadValues(bsl) 18 if vals["better"] != seed || err != nil { 19 os.Exit(1) 20 } 21} 22