Ben Kalman
03b7221c36
Use stretchr/testify not attic-labs/testify ( #3677 )
...
stretchr has fixed a bug with the -count flag. I could merge these
changes into attic-labs, but it's easier to just use strechr.
We forked stretchr a long time ago so that we didn't link in the HTTP
testing libraries into the noms binaries (because we were using d.Chk in
production code). The HTTP issue doesn't seem to happen anymore, even
though we're still using d.Chk.
2017-09-07 15:01:03 -07:00
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