summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-11-10 15:51:07 +0100
committerUrban Müller2016-11-10 15:53:00 +0100
commit52aa39b034da27fc758f0ae5a78c0b5ace05e295 (patch)
tree0533874924ae08cfbb6790f0000375f8d9ef3426
parent01ce86d79be6d17bbf011826a77086e50652105b (diff)
downloaditools-52aa39b034da27fc758f0ae5a78c0b5ace05e295.tar.gz
itools-52aa39b034da27fc758f0ae5a78c0b5ace05e295.tar.bz2
itools-52aa39b034da27fc758f0ae5a78c0b5ace05e295.zip
whitespace cleanup
-rw-r--r--it_url.class2
-rwxr-xr-xtests/it_dbi.t12
2 files changed, 7 insertions, 7 deletions
diff --git a/it_url.class b/it_url.class
index 2c70fff..da2ec54 100644
--- a/it_url.class
+++ b/it_url.class
@@ -402,7 +402,7 @@ function get_multi($p=null)
$start = microtime(true);
- # curl_multi loop copied from example at http://php.net/manual/en/function.curl-multi-exec.php
+ # curl_multi loop copied from example at http://php.net/manual/en/function.curl-multi-exec.php
$active = null;
do {
$mrc = curl_multi_exec($mh, $active);
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");