summaryrefslogtreecommitdiff
path: root/test/test_pstore.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/test_pstore.rb
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pstore.rb')
-rw-r--r--test/test_pstore.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_pstore.rb b/test/test_pstore.rb
index 678ffa4..e10ce90 100644
--- a/test/test_pstore.rb
+++ b/test/test_pstore.rb
@@ -17,14 +17,14 @@ class PStoreTest < Test::Unit::TestCase
assert_nil @pstore[:bar]
end
end
-
+
def test_opening_new_file_in_readwrite_mode_should_result_in_empty_values
@pstore.transaction do
assert_nil @pstore[:foo]
assert_nil @pstore[:bar]
end
end
-
+
def test_data_should_be_loaded_correctly_when_in_readonly_mode
@pstore.transaction do
@pstore[:foo] = "bar"
@@ -33,7 +33,7 @@ class PStoreTest < Test::Unit::TestCase
assert_equal "bar", @pstore[:foo]
end
end
-
+
def test_data_should_be_loaded_correctly_when_in_readwrite_mode
@pstore.transaction do
@pstore[:foo] = "bar"
@@ -42,7 +42,7 @@ class PStoreTest < Test::Unit::TestCase
assert_equal "bar", @pstore[:foo]
end
end
-
+
def test_changes_after_commit_are_discarded
@pstore.transaction do
@pstore[:foo] = "bar"
@@ -53,7 +53,7 @@ class PStoreTest < Test::Unit::TestCase
assert_equal "bar", @pstore[:foo]
end
end
-
+
def test_changes_are_not_written_on_abort
@pstore.transaction do
@pstore[:foo] = "bar"
@@ -63,7 +63,7 @@ class PStoreTest < Test::Unit::TestCase
assert_nil @pstore[:foo]
end
end
-
+
def test_writing_inside_readonly_transaction_raises_error
assert_raise(PStore::Error) do
@pstore.transaction(true) do