Skip to content

Fail word throws error #1

@joshfalgout

Description

@joshfalgout

Use fail instead of 1 in the sample data

Traceback (most recent call last):
File "/py/prompt-security-test-scripter.py", line 163, in
main()
~~~~^^
File "/py/prompt-security-test-scripter.py", line 63, in main
expected_result_text = convert_expected_result(expected_result)
File "/py/prompt-security-test-scripter.py", line 99, in convert_expected_result
expected_result = int(expected_result)
ValueError: invalid literal for int() with base 10: 'fail'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions