Skip to content

Commit

Permalink
interfaces: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenstridge committed Sep 14, 2017
1 parent cb60ba4 commit 1d76910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interfaces/builtin/desktop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ func (s *DesktopInterfaceSuite) TestMountSpec(c *C) {
c.Assert(entries, HasLen, 3)

const hostfs = "/var/lib/snapd/hostfs"
c.Check(entries[0].Name, Equals, hostfs + dirs.SystemFontsDir)
c.Check(entries[0].Name, Equals, hostfs+dirs.SystemFontsDir)
c.Check(entries[0].Dir, Equals, "/usr/share/fonts")
c.Check(entries[0].Options, DeepEquals, []string{"bind", "ro"})

c.Check(entries[1].Name, Equals, hostfs + dirs.SystemLocalFontsDir)
c.Check(entries[1].Name, Equals, hostfs+dirs.SystemLocalFontsDir)
c.Check(entries[1].Dir, Equals, "/usr/local/share/fonts")
c.Check(entries[1].Options, DeepEquals, []string{"bind", "ro"})

c.Check(entries[2].Name, Equals, hostfs + dirs.SystemFontconfigCacheDir)
c.Check(entries[2].Name, Equals, hostfs+dirs.SystemFontconfigCacheDir)
c.Check(entries[2].Dir, Equals, "/var/cache/fontconfig")
c.Check(entries[2].Options, DeepEquals, []string{"bind", "ro"})
}
Expand Down

0 comments on commit 1d76910

Please sign in to comment.