Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Dec 4, 2024
1 parent 67ad344 commit 0745be3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/amazon/ion/impl/macro/MacroCompiler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ internal class MacroCompiler(
val encoding = Macro.ParameterEncoding.entries.singleOrNull { it.ionTextName == encodingText }
if (encoding == null) {
// TODO: Check for macro-shaped parameter encodings, and only if it's still null, we throw.
throw IonException("Unknown parameter encoding: $encodingText")
throw IonException("unsupported parameter encoding $annotations")
}
encoding
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ object IncrementalReaderConformanceTests : ConformanceTestRunner(

abstract class ConformanceTestRunner(
readerBuilder: IonReaderBuilder,
/** A predicate that returns `true` iff the test case should be skipped. */
additionalSkipFilter: (File, String) -> Boolean = { _, _ -> false }
) {

Expand All @@ -36,8 +37,6 @@ abstract class ConformanceTestRunner(
"If no max_id, lack of exact-match must raise an error «then»" in completeTestName -> false
// IonCatalog's "best choice" logic is not spec compliant
"When max_id is valid, pad/truncate mismatched or absent SSTs" in completeTestName -> false
// TODO—Some commits have a typo in the name. Remove this line once ion-tests submodule is updated.
"When max_id is valid, pad/truncade mismatched or absent SSTs" in completeTestName -> false
// No support for reading `$ion_encoding` directives yet.
"conformance/ion_encoding/" in file.absolutePath -> false
file.endsWith("local_symtab_imports.ion") -> when {
Expand Down Expand Up @@ -96,7 +95,7 @@ abstract class ConformanceTestRunner(
"make_decimal can be invoked in binary using system macro address 6" in completeTestName -> false

// TODO: Macro-shaped parameters not implemented yet
"a macro that can create a monomorphized variant of the values macro for a macro-shape when invoked in Ion text" in completeTestName -> false
"macro-shape" in completeTestName -> false

// TODO: Not implemented yet
"subnormal f16" in completeTestName -> false
Expand Down

0 comments on commit 0745be3

Please sign in to comment.