From 52aa39b034da27fc758f0ae5a78c0b5ace05e295 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 10 Nov 2016 15:51:07 +0100 Subject: whitespace cleanup --- tests/it_dbi.t | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/it_dbi.t') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index 961a747..cec097e 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -321,9 +321,9 @@ is( # Test saving/retrieving/matching values in dynamically created columns # $record = new it_dbi_test; -$record->replace('ID' => 5, 'key1' => "val1"); is($record->key1, "val1"); -$record->update('key2' => "val2"); is($record->key1, "val1"); is($record->key2, "val2"); -$record->update('-key3' => "2*2"); is($record->key1, "val1"); is($record->key2, "val2"); is($record->key3, 4); -$record->update('key1' => "val0"); is($record->key1, "val0"); is($record->key2, "val2"); is($record->key3, 4); -$record->replace('ID' => 6, 'key4' => "val4"); is($record->key4, "val4"); -$record->select('key2' => "val2"); is($record->key2, "val2"); is($record->key4, null, "clear previous fields"); +$record->replace(['ID' => 5, 'key1' => "val1"]); is($record->key1, "val1"); +$record->update(['key2' => "val2"]); is($record->key1, "val1"); is($record->key2, "val2"); +$record->update(['-key3' => "2*2"]); is($record->key1, "val1"); is($record->key2, "val2"); is($record->key3, 4); +$record->update(['key1' => "val0"]); is($record->key1, "val0"); is($record->key2, "val2"); is($record->key3, 4); +$record->replace(['ID' => 6, 'key4' => "val4"]); is($record->key4, "val4"); +$record->select(['key2' => "val2"]); is($record->key2, "val2"); is($record->key4, null, "clear previous fields"); -- cgit v1.2.3