diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-04-16 04:50:34 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-04-16 04:50:34 -0600 |
| commit | bcae07d8c558f4368bafdf2b6c21ad8a9aae9ebe (patch) | |
| tree | c53f5dbfe1523bc7bab6cddad019b6d1ca2b3c4d /tasks/test.rake | |
| parent | c5c21d624a21b6adc7e6577fa41cc80116bb4899 (diff) | |
use shorthand rescue syntax and modern Hash syntax in rake tasks [skip ci]
Diffstat (limited to 'tasks/test.rake')
| -rw-r--r-- | tasks/test.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/test.rake b/tasks/test.rake index 3a3615b8..04805289 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -20,11 +20,11 @@ begin t.verbose = true t.warning = true end -rescue LoadError => e - warn e.message +rescue LoadError + warn $!.message end namespace :test do desc 'Run unit and feature tests' - task :all => [:test, :features] + task all: [:test, :features] end |
