   Compiling fount v0.4.3 (/home/nkr/Projects/Fount)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s
     Running unittests src/lib.rs (target/debug/deps/fount-3aa1d921c2fd3526)

running 1 test
test app::tests::test_integration ... FAILED

failures:

---- app::tests::test_integration stdout ----

thread 'app::tests::test_integration' (175724) panicked at src/app/tests.rs:3004:9:
assertion `left == right` failed: Reference render does not match expected output.
  left: "                      Fount Tutorial\n                      Credit: Written by\n                      Author: René Coignard\n                      Draft date: Version 0.2.17\n                      Contact:\n                        contact@renecoignard.com\n\n     1      INT. FLAT IN WOLFEN-NORD - DAY                                    1.\n\n            RENÉ sits at his desk, typing.\n\n                                RENÉ\n                            (turning round)\n                       Oh, hello there. It seems you've\n                       found my terminal Rust port of\n                       Beat. Sit back and I'll show you\n                       how everything works.\n\n            I sometimes write screenplays on my Gentoo laptop, and doing\n            it in plain nano isn't terribly comfortable (I work entirely\n            in the terminal there). So I decided to put this port of\n            Beat together. I used Beat's source code as a reference when\n            writing Fount, so things work more or less the same way.\n\n            As you may have already noticed, the navigation is rather\n            reminiscent of nano, because I did look at its source code\n            and took inspiration, for the sake of authenticity. I'm\n            rather fond of it, and I hope you will be too. Not quite as\n            nerdy as vim, but honestly, I'm an average nano enjoyer and\n            I'm not ashamed of it.\n\n            Anyway, let's get into it.\n\n     2      EXT. NORDPARK - DAY\n\n            As I mentioned, things work much the same as in Beat. If you\n            start a line with int. or ext., Fount will automatically\n            turn it into a scene heading. You can also use tab: on an\n            empty line, it will first turn it into a character cue, then\n            a scene heading, and then a transition. If you simply start\n            typing IN CAPS ON AN EMPTY LINE, LIKE SO, the text will\n            automatically become a character cue.\n\n            You can also use notes...\n\n                                SAILOR\n                       I'm not a sailor, actually.\n\n            Fount automatically inserts two blank lines after certain\n            elements, just as Beat does, though this can be adjusted in\n            the configuration file. There's a sample config in the\n            repository; do make use of it. Bonus: try enabling\n            typewriter mode and see what happens.\n\n            To create a transition, simply write in capitals and end\n            with a colon, like so...\n\n                                                                 CUT TO:\n\n            THAT ALONE IS QUITE ENOUGH TO WRITE A PROPER SCREENPLAY. BUT\n                         THERE'S MORE! FOR INSTANCE, WE ALSO HAVE THESE:      2.\n\n     3      INT. EDEKA - ABEND\n\n            Unlike Beat, there's no full render or PDF export here, but\n            you can always save your screenplay and open it in Beat to\n            do that. In Beat, synopses wouldn't appear in the rendered\n            script, nor would comments. Which is why they share the same\n            colour here, incidentally.\n\n            As you may have noticed, there's support for bold text,\n            italics, and even underlined text. When your cursor isn't on\n            a line containing these markers, they'll be hidden from\n            view. Move onto the line, and you'll see all the asterisks\n            and underscores that produce the formatting.\n\n                 CENTRED TEXT IS SUPPORTED AS WELL, AND WORKS LIKE THIS:\n\n                                    Centred text\n\n                                         YOU CAN ALSO FORCE TRANSITIONS:\n\n                                 AN ABRUPT TRANSITION TO THE NEXT SCENE:\n\n     4      EXT. WOLFEN(BITTERFELD) RAILWAY STATION - MORNING\n\n            LYRICS ARE SUPPORTED TOO, USING A TILDE AT THE START OF THE\n                                                                   LINE:\n\n                          Meine Damen, meine Herrn, danke\n                              Dass Sie mit uns reisen\n                              Zu abgefahrenen Preisen\n                              Auf abgefahrenen Gleisen\n                   Für Ihre Leidensfähigkeit, danken wir spontan\n                      Sänk ju for träweling wis Deutsche Bahn\n\n            That's Wise Guys. Onwards.\n\n     5      EXT. LEIPZIG HBF - MORNING\n\n            Well, do have a go on it, write something from scratch, or\n            edit this screenplay. You might even turn up a bug or two;\n            if so, please do let me know :-) Everything seemed to behave\n            itself while I was putting this tutorial together, and I\n            hope it all runs just as smoothly for you. I hope you enjoy\n            working in Fount.\n\n            You can find more information about the Fountain markup\n            language at https://www.fountain.io/                              3.\n\n            And Beat itself, of course: https://www.beat-app.fi/\n\n                                                                FADE OUT\n"
 right: "                      Fount Tutorial\n                      Credit: Written by\n                      Author: René Coignard\n                      Draft date: Version 0.2.17\n                      Contact:\n                        contact@renecoignard.com\n\n     1      INT. FLAT IN WOLFEN-NORD - DAY                                    1.\n\n            RENÉ sits at his desk, typing.\n\n                                RENÉ\n                            (turning round)\n                       Oh, hello there. It seems you've\n                       found my terminal Rust port of\n                       Beat. Sit back and I'll show you\n                       how everything works.\n\n            I sometimes write screenplays on my Gentoo laptop, and doing\n            it in plain nano isn't terribly comfortable (I work entirely\n            in the terminal there). So I decided to put this port of\n            Beat together. I used Beat's source code as a reference when\n            writing Fount, so things work more or less the same way.\n\n            As you may have already noticed, the navigation is rather\n            reminiscent of nano, because I did look at its source code\n            and took inspiration, for the sake of authenticity. I'm\n            rather fond of it, and I hope you will be too. Not quite as\n            nerdy as vim, but honestly, I'm an average nano enjoyer and\n            I'm not ashamed of it.\n\n            Anyway, let's get into it.\n\n     2      EXT. NORDPARK - DAY\n\n            As I mentioned, things work much the same as in Beat. If you\n            start a line with int. or ext., Fount will automatically\n            turn it into a scene heading. You can also use tab: on an\n            empty line, it will first turn it into a character cue, then\n            a scene heading, and then a transition. If you simply start\n            typing IN CAPS ON AN EMPTY LINE, LIKE SO, the text will\n            automatically become a character cue.\n\n            You can also use notes...\n\n                                SAILOR\n                       I'm not a sailor, actually.\n\n            Fount automatically inserts two blank lines after certain\n            elements, just as Beat does, though this can be adjusted in\n            the configuration file. There's a sample config in the\n            repository; do make use of it. Bonus: try enabling\n            typewriter mode and see what happens.\n\n            To create a transition, simply write in capitals and end\n            with a colon, like so...\n\n                                                                 CUT TO:\n\n            That alone is quite enough to write a proper screenplay. But\n            there's more! For instance, we also have these:                   2.\n\n     3      INT. EDEKA - ABEND\n\n            Unlike Beat, there's no full render or PDF export here, but\n            you can always save your screenplay and open it in Beat to\n            do that. In Beat, synopses wouldn't appear in the rendered\n            script, nor would comments. Which is why they share the same\n            colour here, incidentally.\n\n            As you may have noticed, there's support for bold text,\n            italics, and even underlined text. When your cursor isn't on\n            a line containing these markers, they'll be hidden from\n            view. Move onto the line, and you'll see all the asterisks\n            and underscores that produce the formatting.\n\n            Centred text is supported as well, and works like this:\n\n                                    Centred text\n\n            You can also force transitions:\n\n                                 AN ABRUPT TRANSITION TO THE NEXT SCENE:\n\n     4      EXT. WOLFEN(BITTERFELD) RAILWAY STATION - MORNING\n\n            Lyrics are supported too, using a tilde at the start of the\n            line:\n\n                          Meine Damen, meine Herrn, danke\n                              Dass Sie mit uns reisen\n                              Zu abgefahrenen Preisen\n                              Auf abgefahrenen Gleisen\n                   Für Ihre Leidensfähigkeit, danken wir spontan\n                      Sänk ju for träweling wis Deutsche Bahn\n\n            That's Wise Guys. Onwards.\n\n     5      EXT. LEIPZIG HBF - MORNING\n\n            Well, do have a go on it, write something from scratch, or\n            edit this screenplay. You might even turn up a bug or two;\n            if so, please do let me know :-) Everything seemed to behave\n            itself while I was putting this tutorial together, and I\n            hope it all runs just as smoothly for you. I hope you enjoy\n            working in Fount.\n\n            You can find more information about the Fountain markup\n            language at https://www.fountain.io/                              3.\n\n            And Beat itself, of course: https://www.beat-app.fi/\n\n                                                                FADE OUT\n"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    app::tests::test_integration

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 355 filtered out; finished in 0.03s

error: test failed, to rerun pass `--lib`
