:application.get_key(:workshop, :vsn) will print the version number specified in the mix file. Figure out if this is also the case when the workshop has been turned into a mix archive.
If so, remove the unit test that check if the version information specified in the mix file and the Workshop module are the same, and perhaps remove the Workshop.version/0 command and replace wherever it is used with {:ok, version} = :application.get_key(:workshop, :vsn).
:application.get_key(:workshop, :vsn)will print the version number specified in the mix file. Figure out if this is also the case when the workshop has been turned into a mix archive.If so, remove the unit test that check if the version information specified in the mix file and the Workshop module are the same, and perhaps remove the
Workshop.version/0command and replace wherever it is used with{:ok, version} = :application.get_key(:workshop, :vsn).