nasa / NASA-Acronyms

MIT License
80 stars 22 forks source link

Python test failure #14

Closed mbruzek closed 3 years ago

mbruzek commented 3 years ago

Howdy,

It seems the python tests haven't been updated and are failing with the current acronym.json file.

When I run the python file I get a test failure:

$ python3 NASA-Acronyms.py 
**********************************************************************
File "NASA-Acronyms.py", line 55, in __main__.deAcronym
Failed example:
    deAcronym('ASF')
Expected:
    'Alaska SAR Facility'
Got:
    'Application Services Framework'
**********************************************************************
1 items had failures:
   1 of   7 in __main__.deAcronym
***Test Failed*** 1 failures.

Looks like "Application Services Framework" is the first result for 'ASF'.

joelmalissa commented 3 years ago

Accepted @mbruzek's pull request that fixes this issue.