Skip to content

Commit

Permalink
example dependencies for testing crate
Browse files Browse the repository at this point in the history
  • Loading branch information
astocko committed Jan 29, 2017
1 parent cad3712 commit ea5c8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for EX in "${examples[@]}"
do
TARGET=$(echo $EX | tr - _)
cp "./doc/examples/${EX}/src/main.rs" "./testing/tests/${TARGET}.rs"
echo -n -e "#[test]\nfn ex_${EX}()\n{\n main();\n}\n" >> \
echo -n -e "#[test]\nfn ex_${TARGET}()\n{\n main();\n}\n" >> \
"./testing/tests/${TARGET}.rs"
done

Expand Down

0 comments on commit ea5c8bf

Please sign in to comment.