Skip to content

Commit

Permalink
Slightly changed some assert messages
Browse files Browse the repository at this point in the history
  • Loading branch information
avpaderno committed Feb 17, 2025
1 parent e60df67 commit 44332e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/apc_storage_lock.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ApcStorageLockTestCase extends ApcStorageBaseTestCase {
$lock = ApcStorageLock::get($name);
$timeouts[] = $timeout = $this->randomFloat($from, $to);
$message = format_string(
'The lock @name has been acquired for @timeout seconds.',
'The @name lock has been acquired for @timeout seconds.',
array('@name' => $name, '@timeout' => (int) round($timeout))
);

Expand Down Expand Up @@ -161,7 +161,7 @@ class ApcStorageLockTestCase extends ApcStorageBaseTestCase {

foreach ($locks as $name => $lock) {
$message = format_string(
'The lock @name is available after further @delay seconds.',
'The @name lock is available after further @delay seconds.',
array('@name' => $name, '@delay' => $delay)
);

Expand Down

0 comments on commit 44332e7

Please sign in to comment.