-
Notifications
You must be signed in to change notification settings - Fork 139
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
added syntest example to run ST syntax tests #44
Commits on Mar 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8a957ff - Browse repository at this point
Copy the full SHA 8a957ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29a24e5 - Browse repository at this point
Copy the full SHA 29a24e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eac892 - Browse repository at this point
Copy the full SHA 5eac892View commit details -
store original path when syntax is loaded, and use that in syntest
commit ammended later to remove changes to packdump files, to reduce repo size.
Configuration menu - View commit details
-
Copy full SHA for 1904dc2 - Browse repository at this point
Copy the full SHA 1904dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b64b4 - Browse repository at this point
Copy the full SHA 09b64b4View commit details -
Refactor the data structure used to find syntaxes by file.
This change makes it so that it can't crash on non-UTF8 paths, makes lookup by file path more efficient, and avoids allocating a hash map data structure that is never used as a map. It also adds a test of the functionality Signed-off-by: Tristan Hume <tris.hume@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7b5e125 - Browse repository at this point
Copy the full SHA 7b5e125View commit details -
make test behaviour more like ST's when not only tests are on the line
i.e. the ASP syntax tests make use of this behavior, to test whether line continuation punctuation works properly
Configuration menu - View commit details
-
Copy full SHA for a4030a4 - Browse repository at this point
Copy the full SHA a4030a4View commit details -
Clean and comment ScopeRegionIterator
I did this to make it clearer what was going on, so that I could understand it again and review that it was doing the right thing, since I clearly got it wrong the first time.
Configuration menu - View commit details
-
Copy full SHA for ac8b32b - Browse repository at this point
Copy the full SHA ac8b32bView commit details -
The error handling in test_file was rearranged to use the try! macro and ok_or combinator. This decreases indentation and makes the code easier to read. It is recommended to view this diff without whitespace to make it clearer what actually changed.
Configuration menu - View commit details
-
Copy full SHA for ee5482f - Browse repository at this point
Copy the full SHA ee5482fView commit details -
trim scope selector at test token end
i.e. allow text after the assertion to not interfere with the assertion. This is how ST works when it executes the syntax tests.
Configuration menu - View commit details
-
Copy full SHA for 045dd0c - Browse repository at this point
Copy the full SHA 045dd0cView commit details