From 1d76910ecae4993c0716faf0ce79a5ac9273e4a5 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Fri, 15 Sep 2017 00:09:56 +0800 Subject: [PATCH] interfaces: fix formatting --- interfaces/builtin/desktop_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/builtin/desktop_test.go b/interfaces/builtin/desktop_test.go index c3a36e0bd25..2d0554ee9c9 100644 --- a/interfaces/builtin/desktop_test.go +++ b/interfaces/builtin/desktop_test.go @@ -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"}) }