Skip to content

Commit

Permalink
Fixed fmtutil tests on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 24, 2015
1 parent 257f263 commit 93f366a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions fmtutil/termsize_linux_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// +build linux

package fmtutil

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2015 Essential Kaos //
// Essential Kaos Open Source License <http://essentialkaos.com/ekol?en> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //

import (
. "gopkg.in/check.v1"
)

// ////////////////////////////////////////////////////

func (s *FmtUtilSuite) TestTermSize(c *C) {
w, h := GetTermSize()

c.Assert(w, Not(Equals), 0)
c.Assert(h, Not(Equals), 0)
}

0 comments on commit 93f366a

Please sign in to comment.