2
0
Эх сурвалжийг харах

removed useless try-catch

vpenades 2 сар өмнө
parent
commit
e02e30f1bf

+ 1 - 9
tests/SharpGLTF.Core.Tests/Schema2/LoadAndSave/LoadSampleTests.cs

@@ -38,15 +38,7 @@ namespace SharpGLTF.Schema2.LoadAndSave
 
             var perf = System.Diagnostics.Stopwatch.StartNew();
 
-            try
-            {
-                model = ModelRoot.Load(f, settings);                
-            }
-            catch (Exception ex)
-            {
-                TestContext.Progress.WriteLine($"Failed {f.ToShortDisplayPath()}");
-                Assert.Fail(ex.Message);
-            }
+            model = ModelRoot.Load(f, settings);
 
             Assert.That(model, Is.Not.Null);