From 92eb29965ff9e18ede5fb5189a12a2d4393bfe0d Mon Sep 17 00:00:00 2001
From: Jim Deville <jdeville@microsoft.com>
Date: Thu, 10 Jul 2008 12:01:02 -0700
Subject: [PATCH] uncommented script_error_spec, added case insensitivity to system_call_error_spec

---
 1.8/core/exception/script_error_spec.rb      |   22 +++++++++++-----------
 1.8/core/exception/system_call_error_spec.rb |    2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/1.8/core/exception/script_error_spec.rb b/1.8/core/exception/script_error_spec.rb
index 55e4dcf..c1d607f 100644
--- a/1.8/core/exception/script_error_spec.rb
+++ b/1.8/core/exception/script_error_spec.rb
@@ -1,15 +1,15 @@
 require File.dirname(__FILE__) + '/../../spec_helper'
 
 describe "ScriptError" do
-  # it "is a superclass of LoadError" do
-  #   ScriptError.should be_ancestor_of(LoadError)
-  # end
-  # 
-  # it "is a superclass of NotImplementedError" do
-  #   ScriptError.should be_ancestor_of(NotImplementedError)
-  # end
-  # 
-  # it "is a superclass of SyntaxError" do
-  #   ScriptError.should be_ancestor_of(SyntaxError)
-  # end
+  it "is a superclass of LoadError" do
+    ScriptError.should be_ancestor_of(LoadError)
+  end
+  
+  it "is a superclass of NotImplementedError" do
+    ScriptError.should be_ancestor_of(NotImplementedError)
+  end
+  
+  it "is a superclass of SyntaxError" do
+    ScriptError.should be_ancestor_of(SyntaxError)
+  end
 end
diff --git a/1.8/core/exception/system_call_error_spec.rb b/1.8/core/exception/system_call_error_spec.rb
index f457695..9a65fe7 100644
--- a/1.8/core/exception/system_call_error_spec.rb
+++ b/1.8/core/exception/system_call_error_spec.rb
@@ -33,7 +33,7 @@ end
 
 describe "SystemCallError#message" do
   it "should return default message when no message given" do
-    SystemCallError.new(2**28).message.should =~ /Unknown error/
+    SystemCallError.new(2**28).message.should =~ /Unknown error/i
   end
 
   it "returns the message given as an argument to new" do
-- 
1.5.5.1015.g9d258

