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

Textplay handling of fountain.io test cases #28

Open
arikrupnik opened this issue Jan 25, 2018 · 0 comments
Open

Textplay handling of fountain.io test cases #28

arikrupnik opened this issue Jan 25, 2018 · 0 comments

Comments

@arikrupnik
Copy link

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.

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

No branches or pull requests

1 participant