style(ppt): align PPT palette perfectly with MOMO Pro v2 design tokens (Beige, Warm Ink, Caramel Orange) as per frontend upgrade roadmap
This commit is contained in:
@@ -91,12 +91,9 @@ def test_safe_join():
|
||||
print(f"❌ 失敗: {failed}")
|
||||
print(f"總計: {passed + failed}")
|
||||
|
||||
if failed == 0:
|
||||
print("\n🎉 所有路徑遍歷防護測試通過!")
|
||||
return 0
|
||||
else:
|
||||
print(f"\n⚠️ 有 {failed} 個測試失敗,請檢查!")
|
||||
return 1
|
||||
assert failed == 0
|
||||
|
||||
print("\n🎉 所有路徑遍歷防護測試通過!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(test_safe_join())
|
||||
|
||||
Reference in New Issue
Block a user