amtoine / nu-git-manager

A collection of Nushell tools to manage Git repositories.
GNU General Public License v3.0
26 stars 2 forks source link

test imports exactly #126

Closed amtoine closed 9 months ago

amtoine commented 9 months ago

this PR ensures that the import tests are strong.

by strong, i mean that now, they compare the list of commands in scope before and after the use of a given module. the diff, i.e. the new commands in scope, should be exactly the commands from the module. the import tests don't rely on a prefix anymore.