I'm trying to create a custom build system for Crystal. I'm having some trouble parsing all data needed with the current available options,
line_regex. I've also skimmed through https://www.sublimetext.com/docs/3/build_systems.html for more information.
Running the tests for a given file yield the following output:
1) GitBrowse::GitHub generates repository URL
Failure/Error: url.to_s.should eq("https://github.com/kevinsjoberg/git_browse")
2) GitBrowse::GitHub fails
Failure/Error: false.should eq(true)
Finished in 139 microseconds
2 examples, 2 failures, 0 errors, 0 pending
crystal spec spec/git_browse/github_spec.cr:4 # GitBrowse::GitHub generates repository URL
crystal spec spec/git_browse/github_spec.cr:9 # GitBrowse::GitHub fails
I've managed to capture filename and line number, but grabbing the message has been unsuccessful. Any pointers in there right direction would be much appreciated.