Skip to content

Commit

Permalink
Fixed package utils bug that points out how bad the unit test is. Sha…
Browse files Browse the repository at this point in the history
…me - but can't test namespaces
  • Loading branch information
rob-baillie-ortoo committed Dec 1, 2021
1 parent 35c4928 commit 6f449d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public inherited sharing class PackageUtils
// is actually the name of the containing class, and there is no namespace.
// If that's the case, the potentialNamespace actually contains the name of a class
Type potentialClassType = Type.forName( potentialNamespace );
if ( potentialClassType != null )
if ( potentialClassType == null )
{
namespacePrefix = potentialNamespace;
}
Expand Down
Empty file modified scripts/helpers/test-and-show-fails.sh
100644 → 100755
Empty file.

0 comments on commit 6f449d4

Please sign in to comment.