You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2010/04/04 07:00:12 UTC

svn commit: r930619 - in /buildr/trunk/spec: core/common_spec.rb java/compiler_spec.rb scala/compiler_spec.rb

Author: boisvert
Date: Sun Apr  4 05:00:12 2010
New Revision: 930619

URL: http://svn.apache.org/viewvc?rev=930619&view=rev
Log:
Fix typos

Modified:
    buildr/trunk/spec/core/common_spec.rb
    buildr/trunk/spec/java/compiler_spec.rb
    buildr/trunk/spec/scala/compiler_spec.rb

Modified: buildr/trunk/spec/core/common_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/common_spec.rb?rev=930619&r1=930618&r2=930619&view=diff
==============================================================================
--- buildr/trunk/spec/core/common_spec.rb (original)
+++ buildr/trunk/spec/core/common_spec.rb Sun Apr  4 05:00:12 2010
@@ -308,17 +308,17 @@ describe Buildr::Filter do
     @filter.from('src').into('target').include('file2', 'file3').run
     Dir['target/*'].sort.should eql(['target/file2', 'target/file3'])
   end
-  
+
   it 'should respond to :include with regular expressions and use these inclusion patterns' do
     @filter.from('src').into('target').include(/file[2|3]/).run
     Dir['target/*'].sort.should eql(['target/file2', 'target/file3'])
   end
-  
+
   it 'should respond to :include with a Proc and use these inclusion patterns' do
     @filter.from('src').into('target').include(lambda {|file| file[-1, 1].to_i%2 == 0}).run
     Dir['target/*'].sort.should eql(['target/file2', 'target/file4'])
   end
-  
+
   it 'should respond to :include with a FileTask and use these inclusion patterns' do
     @filter.from('src').into('target').include(file('target/file2'), file('target/file4')).run
     Dir['target/*'].sort.should eql(['target/file2', 'target/file4'])
@@ -332,22 +332,22 @@ describe Buildr::Filter do
     @filter.from('src').into('target').exclude('file2', 'file3').run
     Dir['target/*'].sort.should eql(['target/file1', 'target/file4'])
   end
-  
+
   it 'should respond to :exclude with regular expressions and use these exclusion patterns' do
     @filter.from('src').into('target').exclude(/file[2|3]/).run
     Dir['target/*'].sort.should eql(['target/file1', 'target/file4'])
   end
-  
+
   it 'should respond to :exclude with a Proc and use these exclusion patterns' do
     @filter.from('src').into('target').exclude(lambda {|file| file[-1, 1].to_i%2 == 0}).run
     Dir['target/*'].sort.should eql(['target/file1', 'target/file3'])
   end
-  
+
   it 'should respond to :exclude with a FileTask and use these exclusion patterns' do
     @filter.from('src').into('target').exclude(file('target/file1'), file('target/file3')).run
     Dir['target/*'].sort.should eql(['target/file2', 'target/file4'])
   end
-  
+
   it 'should respond to :exclude with a FileTask, use these exclusion patterns and depend on those tasks' do
     file1 = false
     file2 = false

Modified: buildr/trunk/spec/java/compiler_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/compiler_spec.rb?rev=930619&r1=930618&r2=930619&view=diff
==============================================================================
--- buildr/trunk/spec/java/compiler_spec.rb (original)
+++ buildr/trunk/spec/java/compiler_spec.rb Sun Apr  4 05:00:12 2010
@@ -103,7 +103,7 @@ describe 'javac compiler options' do
     compile_task.options.warnings.should be_false
   end
 
-  it 'should set wranings option to false when running with --verbose option' do
+  it 'should set warnings option to true when running with --verbose option' do
     verbose true
     compile_task.options.warnings.should be_false
   end

Modified: buildr/trunk/spec/scala/compiler_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/compiler_spec.rb?rev=930619&r1=930618&r2=930619&view=diff
==============================================================================
--- buildr/trunk/spec/scala/compiler_spec.rb (original)
+++ buildr/trunk/spec/scala/compiler_spec.rb Sun Apr  4 05:00:12 2010
@@ -152,7 +152,7 @@ describe 'scalac compiler options' do
     compile_task.options.warnings.should be_false
   end
 
-  it 'should set wranings option to true when running with --verbose option' do
+  it 'should set warnings option to true when running with --verbose option' do
     verbose true
     compile_task.options.warnings.should be_true
   end