Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found a bug! #78

Closed
814549124 opened this issue May 22, 2019 · 0 comments
Closed

I found a bug! #78

814549124 opened this issue May 22, 2019 · 0 comments
Assignees
Labels

Comments

@814549124
Copy link

the test run failed.

        [TestMethod]
        public void Exam4()
        {
            TinyMapper.Bind<C, C2>(c => {
                c.Bind(s => s.CName, t => t.C2Name1);
                c.Bind(s => s.CName, t => t.C2Name2);
            });

            var c2 = TinyMapper.Map<C2>(new C()
            {
                CName = "7788"
            });

            Assert.AreEqual("7788", c2.C2Name1);
            Assert.AreEqual("7788", c2.C2Name2);
        }
@GSerjo GSerjo added the bug label May 22, 2019
@GSerjo GSerjo self-assigned this May 22, 2019
@GSerjo GSerjo closed this as completed in f414047 Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants