Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

18 righe
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))) >>.