spec/inference/test_inference.rb in finitio-0.8.0 vs spec/inference/test_inference.rb in finitio-0.9.0
- old
+ new
@@ -2,18 +2,18 @@
require 'finitio/inference'
module Finitio
describe Inference do
let(:system) {
- Finitio.system <<-FIO
-@import finitio/data
+ Finitio.system <<~FIO
+ @import finitio/data
-Nil = .NilClass
-Boolean = .TrueClass|.FalseClass
-Integer = .Integer
-Date = .Date <iso8601> .String \\( s | Date.iso8601(s) )
- \\( d | d.iso8601 )
-String = .String
+ Nil = .NilClass
+ Boolean = .TrueClass|.FalseClass
+ Integer = .Integer
+ Date = .Date <iso8601> .String \\( s | Date.iso8601(s) )
+ \\( d | d.iso8601 )
+ String = .String
FIO
}
let(:input) {
[