Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Test Fails on Expansions #14

Open
Chunkford opened this issue Sep 5, 2018 · 2 comments
Open

Make Test Fails on Expansions #14

Chunkford opened this issue Sep 5, 2018 · 2 comments

Comments

@Chunkford
Copy link

Chunkford commented Sep 5, 2018

Any ideas why it's failing on expand?

=====================================================================
PHP         : /usr/bin/php7.0
PHP_SAPI    : cli
PHP_VERSION : 7.0.30-0ubuntu0.16.04.1
ZEND_VERSION: 3.0.0
PHP_OS      : Linux - Linux ns513912 4.9.87-xxxx-std-ipv6-64 #1 SMP Tue Mar 13 18:41:47 CET 2018 x86_64
INI actual  : /home/user/repo/php-postal/tmp-php.ini
More .INIs  :
CWD         : /home/user/repo/php-postal
Extra dirs  :
VALGRIND    : Not used
=====================================================================
TIME START 2018-09-05 15:25:43
=====================================================================
FAIL Check expand [tests/001-test-expansions.phpt]
PASS Check parser [tests/002-test-parser.phpt]
=====================================================================
TIME END 2018-09-05 15:25:55

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   14
---------------------------------------------------------------------

Number of tests :    2                 2
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 ( 50.0%) ( 50.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    1 ( 50.0%) ( 50.0%)
---------------------------------------------------------------------
Time taken      :   12 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Check expand [tests/001-test-expansions.phpt]
=====================================================================

I've uninstalled, reinstalled, change the datadir etc and I'm running out of options.

EDIT:
If it helps, here the 001-test-expansions.log

---- EXPECTED OUTPUT
92 avenue des champs-elysees
92 avenue des champs elysees
92 avenue des champselysees
92 avenue des champs-elysees
92 avenue des champs elysees
92 avenue des champselysees
friedrichstrasse 128 berlin germany
friedrich strasse 128 berlin germany
---- ACTUAL OUTPUT
92 avenue des champs-elysees
92 avenue des champs elysees
92 avenue des champs-elysees
92 avenue des champs elysees
friedrichstrasse 128 berlin germany
friedrich strasse 128 berlin germany
---- FAILED
@Chunkford Chunkford changed the title Make Test Fails Make Test Fails on Expansions Sep 5, 2018
@Chunkford
Copy link
Author

Also, I presume because the test is failing, then the binding won't be available in PHP?
I only need the parser, not the expansion

@albarrentine any help would be appreciated

@jbelien
Copy link

jbelien commented Dec 7, 2018

I have the same issue.

But I think it's just the test that is wrong:
92 avenue des champselysees is NOT a valid address (champs-elysees and champs elysees are the correct answers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants