Commit Graph

12 Commits

Author SHA1 Message Date
Dan Willhite
46586ee928 Remove msg args from d.PanicIfTrue and d.PanicIfFalse. (#2757)
Should discourage people from writing code that does unnecessary work
to generate a msg every time that an error condition is checked. Fixes #2741
2016-11-03 11:43:57 -07:00
Erik Arvidsson
5edf89cf3d Replace d.Chk.True with d.PanicIfFalse (#2563)
And same for d.Chk.False
2016-09-14 13:11:28 -07:00
Ben Kalman
09cba32746 Make DumbCopy preserve file mode (#1999) 2016-07-08 16:22:41 -07:00
Aaron Boodman
1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -07:00
Dan Willhite
095d49fa84 New error handling. 2016-06-22 12:11:31 -07:00
Aaron Boodman
155a388c64 Fix build break in tools/ 2016-06-05 02:46:02 -07:00
Aaron Boodman
40d485bd03 Licensify everything 2016-05-30 14:32:28 -07:00
Ben Kalman
6187e76325 Replace stretchr/testify with attic-labs/testify (#1637)
This removes the httptest flag in usage for every command.
2016-05-25 13:13:55 -07:00
Aaron Boodman
cff0de3696 non-vendor changes 2016-02-08 23:15:09 -08:00
Chris Masone
4e38862186 file.MyDir() must return directory of caller
It was returning the directory in which the library code lives.
Whoops.
2015-12-21 13:50:02 -08:00
Chris Masone
b8086ef6d4 Allow panics to terminate tests in tools/file_test.go 2015-12-21 13:31:54 -08:00
Chris Masone
6cb6d3769a Add some golang file manipulation utility functions
Some dead-simple file manipulation functions.
2015-12-21 12:59:55 -08:00