Skip to content

Commit 26ee145

Browse files
committed
fix test case .
1 parent 7d2cded commit 26ee145

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

hashids.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
$hash = $hashids->encode(1, 2, 3, 4, 5); // ADf9h9i0sQ
66
$numbers = $hashids->decode($hash); // [1, 2, 3, 4, 5]
77

8-
echo $hash;
8+
echo $hash . "\n";
99
print_r($numbers);
1010

1111
//or would you prefer to use a static method call
1212
$hash = Hashids::encode(1, 2, 3, 4, 5); // ADf9h9i0sQ
1313
$numbers = Hashids::decode($hash); // [1, 2, 3, 4, 5]
1414

15-
echo $hash;
15+
echo $hash . "\n";
1616
print_r($numbers);
1717

1818
//decode
@@ -23,5 +23,5 @@
2323
$hash = $hashids->encodeHex('FFFFDD'); // rYKPAK
2424
$hex = $hashids->decodeHex('rYKPAK'); // FFFFDD
2525

26-
echo $hash;
27-
echo $hex;
26+
echo $hash . "\n";
27+
echo $hex . "\n";

tests/001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Check for hashids presence
2+
Check for Hashids presence
33
--SKIPIF--
44
<?php if (!extension_loaded("hashids")) print "skip"; ?>
55
--FILE--

0 commit comments

Comments
 (0)