blob: cc62f5d63d18fa73b94924baaaff90dfaba9e908 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//go:build !android
package main
import "testing"
func TestReadSharedFromCacheStub(t *testing.T) {
txt, err := readSharedFromCache()
if err != nil {
t.Fatalf("stub returned error: %v", err)
}
if txt != "" {
t.Errorf("stub returned non-empty text: %q", txt)
}
}
|