Added -w to all shebangs [Florian Gross]

This commit is contained in:
Alexey Verkhovsky 2005-01-20 00:05:23 +00:00
parent 8eb35d4021
commit 97857409a9
12 changed files with 25 additions and 12 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/ruby #!/usr/bin/ruby -w
# Executable file for a gem # Executable file for a gem
# must be same as ./instiki.rb # must be same as ./instiki.rb

View file

@ -1,3 +1,3 @@
#!/usr/bin/ruby #!/usr/bin/ruby -w
load File.dirname(__FILE__) + "/script/server" load File.dirname(__FILE__) + "/script/server"

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
# Uncomment the line below to enable pdflatex tests; don't forget to comment them again # Uncomment the line below to enable pdflatex tests; don't forget to comment them again
# commiting to SVN # commiting to SVN

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'diff' require 'diff'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'web' require 'web'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'redcloth_for_tex' require 'redcloth_for_tex'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'web' require 'web'
@ -210,6 +210,19 @@ class RevisionTest < Test::Unit::TestCase
"today</ins></p>", @page.revisions.last.display_diff "today</ins></p>", @page.revisions.last.display_diff
end end
def test_list_with_tildas
list_with_tildas = <<-EOL
* "a":~b
* c~ d
EOL
assert_markup_parsed_as(
"<li><a href=\"~b\">a</a></li>\n" +
"<li>c~ d</li>\n",
list_with_tildas)
end
def assert_markup_parsed_as(expected_output, input) def assert_markup_parsed_as(expected_output, input)
revision = Revision.new(@page, 1, input, Time.local(2004, 4, 4, 16, 50), 'AnAuthor') revision = Revision.new(@page, 1, input, Time.local(2004, 4, 4, 16, 50), 'AnAuthor')

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'chunks/uri' require 'chunks/uri'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'url_rewriting_hack' require 'url_rewriting_hack'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'wiki_service' require 'wiki_service'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'wiki_service' require 'wiki_service'

View file

@ -1,4 +1,4 @@
#!/bin/env ruby #!/bin/env ruby -w
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/../test_helper'
require 'wiki_words' require 'wiki_words'