Reverted pike tests until such time as we have a pike lexer here.

This commit is contained in:
Johan Sundström
2013-02-21 23:23:00 -08:00
parent 645f4d6194
commit 7b9e0afef9
2 changed files with 0 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
#! /usr/bin/env pike
// -*- pike -*- $Id$
#pike __REAL_VERSION__
inherit Tools.Standalone.process_files;
string version = ("$Revision$"/" ")[1];
string description = "Replaces strings in files.";
string usage = #"[options] <from> <to> <files>
rsif (\"replace string in file\") replaces all occurrences of the
string <from> with the string <to> in listed files. The name of the
files that were changed are written to stdout. Directories may be
given instead of files, in which case all the files in that directory
will be processed. Available options:
" + default_flag_docs;
int want_args = 2;
string process( string input, string from, string to ) {
if( has_value( input, from ) )
return replace( input, from, to );
}

View File

@@ -444,9 +444,6 @@ class TestBlob < Test::Unit::TestCase
# XML
assert_equal Language['XSLT'], blob("test.xslt").language
# Pike: http://pike.ida.liu.se/
assert_equal Language['Pike'], blob("rsif.pike").language
end
def test_lexer