diff options
author | Petr Kmoch <petr.kmoch@gmail.com> | 2012-09-29 12:41:07 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-11-02 16:08:49 (GMT) |
commit | 1b078c304db63eb6cd46fe0f22988f8241a389b2 (patch) | |
tree | a6624366c4238f48a558bbc41e2baf8dc11e92f5 /Tests/CMakeTests/List-Get-Invalid-Index.cmake | |
parent | f560977540215e533c5360e1ab84dd0846d18310 (diff) | |
download | CMake-1b078c304db63eb6cd46fe0f22988f8241a389b2.zip CMake-1b078c304db63eb6cd46fe0f22988f8241a389b2.tar.gz CMake-1b078c304db63eb6cd46fe0f22988f8241a389b2.tar.bz2 |
Add tests for list() invalid arguments
Add tests for error reporting when list() arguments are invalid.
Diffstat (limited to 'Tests/CMakeTests/List-Get-Invalid-Index.cmake')
-rw-r--r-- | Tests/CMakeTests/List-Get-Invalid-Index.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeTests/List-Get-Invalid-Index.cmake b/Tests/CMakeTests/List-Get-Invalid-Index.cmake new file mode 100644 index 0000000..178295a --- /dev/null +++ b/Tests/CMakeTests/List-Get-Invalid-Index.cmake @@ -0,0 +1,2 @@ +set(mylist alpha bravo charlie) +list(GET mylist 3 result) |