File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
codecs/json-codec/src/test/java/software/amazon/smithy/java/json Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- package software . amazon . smithy . java . json ;
2-
3- import java . util . List ;
4- import org . junit . jupiter . api . Test ;
1+ /*
2+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
55
6+ package software .amazon .smithy .java .json ;
67
78import static org .junit .jupiter .api .Assertions .assertEquals ;
89
10+ import org .junit .jupiter .api .Test ;
11+
912public class ErrorTypeSanitizerTest {
1013 private static final String SIMPLE_TYPE = "FooError" ;
1114 private static final String TYPE_WITH_URI = "FooError:http://amazon.com/smithy/com.amazon.smithy.validate/" ;
1215 private static final String TYPE_WITH_NAMESPACE = "aws.protocoltests.restjson#FooError" ;
13- private static final String TYPE_WITH_NAMESPACE_AND_URI = "aws.protocoltests.restjson#FooError:http://amazon.com/smithy/com.amazon.smithy.validate/" ;
16+ private static final String TYPE_WITH_NAMESPACE_AND_URI =
17+ "aws.protocoltests.restjson#FooError:http://amazon.com/smithy/com.amazon.smithy.validate/" ;
1418 @ Test
1519 public void testRemoveUri () {
1620 String expected = "FooError" ;
You can’t perform that action at this time.
0 commit comments