spec/ffi-tk/command/pack.rb in ffi-tk-2010.08.23 vs spec/ffi-tk/command/pack.rb in ffi-tk-2018.02.20
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
require_relative '../../helper'
Tk.init
describe Tk::Pack do
@@ -13,8 +14,8 @@
}
end
it 'forgets the packing' do
Tk::Pack.forget(@button)
- lambda{ Tk::Pack.info(@button) }.should.raise
+ -> { Tk::Pack.info(@button) }.should.raise
end
-end
\ No newline at end of file
+end