From add8dcbe47f581e89330fe28a63383a453482ff2 Mon Sep 17 00:00:00 2001 From: Whiteknight Date: Tue, 6 Mar 2012 19:30:53 -0500 Subject: [PATCH] [Core] Fix a few typos in my updates last night to get tests passing again --- src/mockobject/MockObject.winxed | 2 +- src/random/Random.winxed | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mockobject/MockObject.winxed b/src/mockobject/MockObject.winxed index 2c583fd5..7ea28c48 100644 --- a/src/mockobject/MockObject.winxed +++ b/src/mockobject/MockObject.winxed @@ -15,7 +15,7 @@ namespace Rosella.MockObject function default_mock_factory() { return Rosella.Globals.autoget_global(DEFAULT_MOCK_FACTORY_KEY, - function() { new Rosella.MockObject.Factory(); } + function() { return new Rosella.MockObject.Factory(); } ); } diff --git a/src/random/Random.winxed b/src/random/Random.winxed index 5b5f36e5..d80a5a0d 100644 --- a/src/random/Random.winxed +++ b/src/random/Random.winxed @@ -11,7 +11,7 @@ namespace Rosella.Random function default_uniform_random() { return Rosella.Globals.autoget_global(RANDOM_UNIFORM_GENERATOR, - function() { new Rosella.Random.RandomNumber.MersenneTwister(); } + function() { return new Rosella.Random.RandomNumber.MersenneTwister(); } ); }