diff options
Diffstat (limited to 'src/testdir/test_sha256.vim')
-rw-r--r-- | src/testdir/test_sha256.vim | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/testdir/test_sha256.vim b/src/testdir/test_sha256.vim index 7f802b143..d0f92b1ba 100644 --- a/src/testdir/test_sha256.vim +++ b/src/testdir/test_sha256.vim @@ -1,11 +1,8 @@ " Tests for the sha256() function. -if !has('cryptv') - throw 'Skipped, cryptv feature missing' -endif -if !exists('*sha256') - throw 'Skipped, sha256 function missing' -endif +source check.vim +CheckFeature cryptv +CheckFunction sha256 function Test_sha256() " test for empty string: |