Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created March 23, 2012 22:49
Show Gist options
  • Select an option

  • Save jfirebaugh/2175999 to your computer and use it in GitHub Desktop.

Select an option

Save jfirebaugh/2175999 to your computer and use it in GitHub Desktop.
diff --git a/vm/builtin/time.hpp b/vm/builtin/time.hpp
index d5f403b..f97bfc5 100644
--- a/vm/builtin/time.hpp
+++ b/vm/builtin/time.hpp
@@ -23,11 +23,13 @@ namespace rubinius {
Array* decomposed_; // slot
Object* is_gmt_; // slot
+ Object* utc_offset_; // slot
public:
/* accessors */
attr_accessor(decomposed, Array);
attr_accessor(is_gmt, Object);
+ attr_accessor(utc_offset, Object);
/* interface */
Running 661 tests...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
In TestSymbolTable::test_lookup_with_empty_string:
./vm/test/test_symboltable.hpp:38: Error: Expected (symbols->lookup(state, str)) to throw (const RubyException &e) but it didn't throw
In TestSymbolTable::test_lookup_with_null_character_in_string:
./vm/test/test_symboltable.hpp:53: Error: Expected (symbols->lookup(state, str1)) to throw (const RubyException &e) but it didn't throw
................................................
Failed 2 of 661 tests
Success rate: 99%
rake aborted!
Command failed with status (2): [vm/test/runner...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment