Skip to content

Commit

Permalink
Correct type() logic
Browse files Browse the repository at this point in the history
It should NOT run if the future parser is enabled
  • Loading branch information
hunner committed Nov 11, 2014
1 parent 0a8963f commit 970141e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/type_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'

describe 'type function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || !(is_future_parser_enabled?)) do
describe 'type function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || is_future_parser_enabled?) do
describe 'success' do
it 'types arrays' do
pp = <<-EOS
Expand Down

0 comments on commit 970141e

Please sign in to comment.