Closed marti1125 closed 8 years ago
Sure! By this one, I meant to add tests around the behavior of checking the environment variables $CARGO_EDITOR
, then $VISUAL
, then $EDITOR
, stopping and using the value if one is set, and if none of them are set, printing an error that guides the user to setting one.
I'm actually not sure how I'm going to do tests at all yet-- I'm probably going to model them after cargo's tests-- cargo has some nice test helpers and utilities for setting environment variables for running a process and setting up temporary test projects.
Please let me know if you have any more questions!!
ok, I understand. I am going to make a test where check env vars because by default in Mac is vim editor example :) http://stackoverflow.com/questions/25084035/setting-editor-or-bundler-editor-environment-variable
hi @carols10cents any update?
Oooh I'm so sorry!! I missed your PR for some reason, and then I was out of town... taking a look now!!! :heart_decoration:
There are now tests for this!!
Could you explain me more, please? I don't have much experience with Rust =)