Skip to content

Textplay handling of fountain.io test cases #28

@arikrupnik

Description

@arikrupnik

I started working on section headers in Textplay. To make sure that I introduce only these changes and keep everything else constant, I tried to run Textplay on a suite of test cases from https://github.com/nyousefi/Fountain/tree/master/FountainTests

Textplay barfs on two of the test files, https://github.com/nyousefi/Fountain/blob/master/FountainTests/SectionHeaders.fountain and https://github.com/nyousefi/Fountain/blob/master/FountainTests/Synopses.fountain with the message

textplay:291:in <main>': undefined method []' for nil:NilClass (NoMethodError)

The error seens to indicate that Textplay cannot process a .fountain document without any printable content.

I wonder if this is desirable behavior, or if it's preferable for Textplay to produce a header and a footer even if there is no content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions