summaryrefslogtreecommitdiffhomepage
path: root/test/text_spec.rb
diff options
context:
space:
mode:
authorTom Black <[email protected]>2017-05-19 19:57:58 -0400
committerTom Black <[email protected]>2017-05-20 21:40:40 -0400
commit09ed2811ad3ccb9af50028447fabbcee5b5c5ae2 (patch)
treefb79eb28497e2ccc2d44b86a40034984649e9eb3 /test/text_spec.rb
parent6ab1ad93c6ae1704fee0adb77dbcf8c721913a73 (diff)
downloadruby2d-09ed2811ad3ccb9af50028447fabbcee5b5c5ae2.tar.gz
ruby2d-09ed2811ad3ccb9af50028447fabbcee5b5c5ae2.zip
Remove trailing whitespace everywhere
It's what all the kids are doing
Diffstat (limited to 'test/text_spec.rb')
-rw-r--r--test/text_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text_spec.rb b/test/text_spec.rb
index 1dc6189..ad12cbf 100644
--- a/test/text_spec.rb
+++ b/test/text_spec.rb
@@ -1,14 +1,14 @@
require 'ruby2d'
RSpec.describe Ruby2D::Text do
-
+
describe '#text=' do
it 'maps Time to string' do
t = Text.new(0, 0, Time.now, 40, "test/media/bitstream_vera/vera.ttf")
t.text = Time.new(1, 1, 1, 1, 1, 1, 1)
expect(t.text).to eq "0001-01-01 01:01:01 +0000"
end
-
+
it 'maps Number to string' do
t = Text.new(0, 0, 0, 40, "test/media/bitstream_vera/vera.ttf")
t.text = 0