aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/schema/derived/DuplicateStructTestCase.java
blob: f7e29289b069ea1a0385ae3a4273ca0852458206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.derived;

import com.yahoo.config.model.deploy.TestProperties;
import org.junit.jupiter.api.Test;

/**
 * @author arnej
 */
public class DuplicateStructTestCase extends AbstractExportingTestCase {

    @Test
    void exact_duplicate_struct_works() throws Exception {
        assertCorrectDeriving("duplicate_struct", "foobar",
                new TestProperties(),
                new TestableDeployLogger());
    }

}