gofmt -w: 14 files, formatting only, no behaviour change (R-1160)
This commit is contained in:
1 parent
0bc0bc5da0
commit
1edfd8e331
14 files changed
+38
-38
No files matched your search
@@ -50,8 +50,8 @@ func TestParseConfMounts(t *testing.T) {
|
||||
func TestMissingBindSources(t *testing.T) {
|
||||
mounts := ParseConfMounts(sampleConf)
|
||||
present := map[string]bool{
|
||||
"/mnt/felhom-usb/felhom-data": true, // usb attached
|
||||
"/var/lib/felhom-agent/guests/9201/bootstrap": true, // bootstrap always present
|
||||
"/mnt/felhom-usb/felhom-data": true, // usb attached
|
||||
"/var/lib/felhom-agent/guests/9201/bootstrap": true, // bootstrap always present
|
||||
// "/mnt/felhom-flash/felhom-data" is ABSENT (drive unplugged)
|
||||
}
|
||||
got := MissingBindSources(mounts, func(p string) bool { return present[p] })
|
||||
|
||||
Reference in new issue
Block a user