您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
433 B

  1. % This file is part of Jiffy released under the MIT license.
  2. % See the LICENSE file for more information.
  3. -module(jiffy_09_reg_issue_24_tests).
  4. -include_lib("eunit/include/eunit.hrl").
  5. -include("jiffy_util.hrl").
  6. no_segfault_test_() ->
  7. {"no segfault", [
  8. ?_assert(begin jiffy:encode(gen_string(), [uescape]), true end)
  9. ]}.
  10. gen_string() ->
  11. << <<226,152,131>> || _ <- lists:seq(0, round(math:pow(2, 19))) >>.