Created
August 12, 2014 08:34
-
-
Save zkessin/52c96f8d5e6285497e8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(json_test). | |
-include_lib("eqc/include/eqc.hrl"). | |
-include_lib("eunit/include/eunit.hrl"). | |
-compile(export_all). | |
-include("erlog_test.hrl"). | |
json_test() -> | |
{ok, ERLOG_STATE} = erlog:new(), | |
Data = [{<<"test">>, 12345}], | |
?assertMatch({{succeed,_},_}, erlog:prove(ERLOG_STATE, {length, Data, {'Len'}})). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment