diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-07-28 14:20:55 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-28 14:20:55 +0200 |
commit | 5a0d41048868eddd709c6e9bb71a8c5243d239c0 (patch) | |
tree | ae7ae122e408a9994e846150a45a65c9308ac667 /core/js/tests | |
parent | ebfbb97e66ef5d4c3dbe6b2eb23d19cba9ab74bd (diff) | |
download | nextcloud-server-5a0d41048868eddd709c6e9bb71a8c5243d239c0.tar.gz nextcloud-server-5a0d41048868eddd709c6e9bb71a8c5243d239c0.zip |
tests for _parseTime with hex and empty strings
Diffstat (limited to 'core/js/tests')
-rw-r--r-- | core/js/tests/specs/shareSpec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/tests/specs/shareSpec.js b/core/js/tests/specs/shareSpec.js index a8beb807ccc..3dc25134f59 100644 --- a/core/js/tests/specs/shareSpec.js +++ b/core/js/tests/specs/shareSpec.js @@ -1324,6 +1324,8 @@ describe('OC.Share tests', function() { [ 123456 , 123456], ['0123456', 123456], ['abcdefg', null], + ['0x12345', null], + [ '', null], ], function(value) { expect(OC.Share._parseTime(value[0])).toEqual(value[1]); }); |