1 require 'spec_helper_acceptance'
3 describe 'type function' do
6 $a = ["the","public","art","galleries"]
7 # Anagram: Large picture halls, I bet
9 notice(inline_template('type is <%= @o.to_s %>'))
12 apply_manifest(pp1, :catch_failures => true) do |r|
13 expect(r.stdout).to match(%r{type is Tuple\[String.*, String.*, String.*, String.*\]})
18 $a = "blowzy night-frumps vex'd jack q"
20 notice(inline_template('type is <%= @o.to_s %>'))
23 apply_manifest(pp2, :catch_failures => true) do |r|
24 expect(r.stdout).to match(%r{type is String})
33 it 'handles no arguments'