InlineExpectationTest: clarify the nedd for an

empty `.expected` file
This commit is contained in:
Rasmus Lerchedahl Petersen
2021-03-08 09:18:47 +01:00
parent 23d994a4b4
commit cc9a938054
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
/**
* Provides a library for writing QL tests whose success or failure is based on expected results
* embedded in the test source code as comments, rather than a `.expected` file.
* embedded in the test source code as comments, rather than the contents of an `.expected` file
* (in that the `.expected` file should always be empty).
*
* To add this framework to a new language:
* - Add a file `InlineExpectationsTestPrivate.qll` that defines a `LineComment` class. This class