Skip to content

Namespace being the same as the class name seems to be causing imports to not work as expected #3

@eloisetaylor5693

Description

@eloisetaylor5693

After downloading the package I was forced to use the package like this:
var filter = new ProfanityFilter.ProfanityFilter();

Expected syntax didn't compile:

using NUnit.Framework;
using ProfanityFilter;

namespace ProfanityPoc
{
    public class ProfanityDetectorTests
    {
        [Test]
        public void Test1()
        {
            var filter = new ProfanityFilter();
            Assert.That();
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions